WP_Options ID high

I had a similar issue on another site recently, memory usage was through the roof. When I checked the db, wp_options was about 80megabytes. Running this SQL reduced the entire db to 15mb:

DELETE FROM `wp_options` WHERE `option_name` LIKE '%_transient_%'

Obviously, replace wp_ with your table prefix.

Leave a Comment