Back to Community

How to Fix Yoast SEO Database Performance Issues and Large wpseo_taxonomy_meta

27 threads Sep 7, 2025 PluginYoast seo

Content

Understanding Yoast SEO Database Performance Issues

Many WordPress users experience performance problems related to the Yoast SEO plugin's database usage. Common symptoms include slow page loads, slow admin updates, and even server errors. These issues often stem from two primary sources: the bloated wpseo_taxonomy_meta option in the wp_options table and the large custom indexable tables (wp_yoast_indexable, wp_yoast_seo_links).

Why Does This Happen?

1. The wpseo_taxonomy_meta Autoload Problem

The wpseo_taxonomy_meta field stores SEO data (titles, meta descriptions, focus keyphrases) for all your categories, tags, and other taxonomies. A known issue exists where this data is not automatically cleaned up when you delete taxonomy terms. Over time, as you create and delete terms, this single database entry can grow very large (often over 100KB+). Because this option is marked for autoload, WordPress loads it into memory on every page request, which can significantly slow down your site.

2. Large Indexable Tables

Since version 14.0, Yoast SEO stores metadata in custom tables (wp_yoast_indexable, wp_yoast_seo_links, etc.) for performance. While this is designed to make page loads faster, the process of populating and maintaining these tables can sometimes cause slow queries, especially on large sites. Common slow queries involve indexing operations and sitemap generation.

Common Solutions and Troubleshooting Steps

Solution 1: Clean Up the wpseo_taxonomy_meta Option

Warning: This involves editing your database directly. Always create a full backup before proceeding.

  1. Access your database via phpMyAdmin or a similar tool provided by your host.
  2. Navigate to the wp_options table.
  3. Find the row where the option_name is wpseo_taxonomy_meta.
  4. The option_value contains serialized PHP data. You need a tool that can safely edit serialized data, such as the "Search and Replace" script from Interconnect/IT.
  5. Within the serialized array, you can carefully remove entries for taxonomy terms that no longer exist on your site. Do not modify data for existing terms.
  6. After cleaning, you can also set the autoload field for this row to no to prevent it from loading on every page. Be aware that this might cause the plugin to need to fetch this data on-demand.

Solution 2: Reset and Rebuild Indexables

If you are encountering errors about missing columns (e.g., inclusive_language_score, blog_id) or slow queries related to the indexable tables, resetting them can often help.

  1. Install and activate the free Yoast Test Helper plugin.
  2. Go to Tools > Yoast Test in your WordPress admin.
  3. In the Yoast SEO section, click the "Reset indexables tables & migrations" button. The page will reload.
  4. Next, go to SEO > Tools in your admin menu.
  5. Under "Optimize SEO Data," click the "Start SEO data optimization" button. This will re-populate the tables correctly.

Solution 3: Address Specific Slow Queries

If Query Monitor or your host is identifying specific slow queries (e.g., during sitemap generation or post updates), these are often related to the indexing process. Ensuring the optimization process (Solution 2) has completed can resolve many of these. For very large sites, the indexing process may need to run during low-traffic periods.

Solution 4: For Missing Tables or Severe Errors

If you see errors that a table doesn't exist (e.g., yoast_indexable), it often indicates a failed installation or upgrade. The most reliable fix is to:

  1. Deactivate the Yoast SEO plugin.
  2. Delete the plugin. (Your SEO data remains in the database).
  3. Reinstall a fresh copy of the plugin from the WordPress repository.
  4. Reactivate it. The plugin should attempt to recreate the missing tables.
  5. Run the SEO data optimization tool as described in Solution 2.

When to Consider a Bug Report

Some issues, like the wpseo_taxonomy_meta not being cleaned up automatically or specific performance problems in the author watcher for large sites, are acknowledged bugs. If the solutions above do not resolve your issue, and you believe you've found a bug, you can report it on the Yoast SEO GitHub repository for the development team to review. Be sure to provide detailed information about your environment and the problem.

By following these steps, you can mitigate the most common database-related performance issues caused by the Yoast SEO plugin and keep your site running smoothly.

Related Support Threads Support