Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5540

No index on post_parent column in wp_yoast_indexable table

$
0
0

Version 13.2

No index on post_parent column for the query
UPDATE wp_yoast_indexable SET has_public_posts = ” WHERE object_type = ‘post’ AND object_sub_type = ‘attachment’ AND post_status = ‘inherit’ AND post_parent = ‘3808176’;
resulting in a table scan of millions of rows on a large site.

Please note that I do not need support – it’s just something you need to fix. I added an index to that table already.


Viewing all articles
Browse latest Browse all 5540

Trending Articles