⚡ Target:
phpMyAdmin / SQL
🔒 Tested: WP 6.6+ / PHP 8.2+
💻 Lang: SQL
⚠️ Database Table Prefix Reminder: This query uses the standard
wp_ table prefix (e.g. wp_options, wp_postmeta). If your installation uses a custom table prefix (configured in wp-config.php, e.g. wp_a7b_), be sure to replace wp_ with your custom prefix before running this query.
Clean thousands of abandoned and expired transient records from wp_options to instantly reduce database memory footprint and table fragmentation.