If you Google for “wp_options optimize” you’ll find some suggestions how to search for performance problems in wp_options.
It makes sense to check which option values are very big, using the following query. Then check if you really need the plugin that wrote this setting (or remove the setting(s), if the plugin already is installed). In some cases you can also fix that by changing a plugin’s (or theme’s) configuration:
SELECT *, LENGTH(option_value) option_size
FROM wp_options
ORDER BY option_size DESC;
It might be necessary to do a mysqloptimize
on the table after removing the values.
Related Posts:
- WordPress (MyISAM) database is slow, should I switch to InnoDB?
- How to solve slow WordPress site caused by attachment_metadata
- Should I remove transients from the wp_options table?
- batch UPDATE autoload value in wp_options table
- Improve performance by removing unnecessary database queries
- Cleanup: best way to remove WooCommerce comments from the wp_comments table
- What would Repair and Optimize WordPress Database do?
- fastest replacement DB
- Optimizing function that automatically creates internal links based on post title string
- Will memcached improve performance with WP Super Cache already running?
- How to optimise this database query?
- Best way to search and replace within serialized database strings?
- Exclude Statement in SQL
- Is it fine to have foreign key as primary key?
- Custom form that store input in database
- Restoring WordPress posts from database only
- Can a post ID be 0?
- Issue with wp_insert_post and post_content field error Could not update post in the database
- wp_posts – guid update
- Performance Gains of Relational DB Setup
- what is the wp_5_posts table in the database?
- Migrating data between local and development server
- WordPress Database Charset/Collate
- store simple data in get_option()
- What is the database table for pages?
- Using Dynamic Data Pulled from a MySQL Table in a WordPress Page
- Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
- storing database in version control
- Is deleting orphaned wp_options entries safe?
- How to build a movie database with wordpress?
- Sub-domain or 2nd, temporary different domain?
- Hook to be used when creating a database table
- Delete all post meta except featured image
- Where is custom template file chosen for a post stored in the DB?
- How do i get user data from a custom table in the wordpress database by user ID?
- Converting WordPress into Android or iPhone app
- Safe way to find last inserted id in a table?
- Delete duplicate rows from wordpress database where a column is duplicate in phpmyadmin
- WooCommerce sku location in DB
- WordPress DATABASE Update Manually?
- I don’t see site_url and home_url fields in wp_options table (phpMyAdmin)?
- Multiple postmeta with same name for one post in wp_postmeta table
- Which is more efficient? Using usermeta, or creating a new MySQL table?
- Can I have multiple database users within WordPress?
- A field with dashes in the slug [closed]
- Structure of postmeta meta_value for woocommerce product download
- $wpdb doesn’t like to store arrays
- Handling large N data in WordPress
- How to replicate a user plugin made table value, to this user’s custom meta table value?
- WordPress ‘repairing database’ in a constant error loop?
- Is there a way to recover the table wp_term_relationships?
- Trouble Migrating all data blog from WordPress.com to WordPress.org
- Historic WordPress database connection
- Check if an option exists and get its value in one hit
- $wpdb error (Call to a member function insert() on a non-object)
- Problems with moving my WordPress site to another domain/server
- Is it important to have integers inserted using %d rather than %s?
- How To Run A Temporary Instance Of a WordPress Backup Without a Database?
- Share users across multiple sites on same database, but with different domains
- Global__r connection timed out
- Connect to database in the header of my WordPress website
- WordPress url transformation script
- Moving WordPress site to new domain – database import [duplicate]
- Location of WP default mySQL tables creation file?
- Directly editing WP database issues
- Installation question
- Disable Database Update Required ? break my website
- Select From wpdb – Author/User Directory page
- How can I query the db to access current post information?
- Just created a WordPress Table can’t get $wpdb get row to work – need help
- $wpdb->insert not inserting all rows
- Best Practice? – Saving multiple Values as Serialized Data / Saving each Value per Row / Dedicated Table
- Insert NULL value using prepare()
- How to re-connect WP files in lampp/htdocs to new SQL database to recover site under development
- How can I find user role in Mysql?
- How would I see which wordpress posts have a revision history without opening each one?
- $wpdb->insert duplicating rows
- Troubles when I want to connect to another DB
- Intermittent Yet Problematic Error – “Error Establishing A Database Connection”
- Free version of Relevanssi doesn’t show ACF fields
- Communication in between WordPress database and another (not WordPress) database
- Is it possible to separate databases in WordPress site – one for orders and the other for all non-orders related
- Featured image from custom to WordPress database
- WordPress Database Query works in phpMyAdmin but not in the code
- How to edit posts/pages without making the change live?
- Correct and secure way to access a custom SQL database in a custom PHP template file
- How to retrieve user data based on role using SQL?
- Does WordPress Support Using Named Pipes on the Windows Operating System?
- Missing latest posts and options after DB migration via phpMyAdmin
- Store id from database query in cookie
- Split database on large site?
- Store the wordpress “featured image” under »wp_posts« Database table
- Custom metabox does not store data
- What WordPress file is saving new users to database
- wordpress database error
- How do i get value from wp_postmeta?
- Local host to server import problem
- featured image not showing up with mysql_connect
- Options of accessing wordpress data from mobile app
- WP Multisite Users Not Linking