Slow database queries slow down website
-
The Query Monitor plugin is consistently warning about these slow db queries by Yoast. Can anything be done about this?
SELECT term_id
FROM wp_term_taxonomy AS T
LEFT JOIN wp_yoast_indexable AS I
ON T.term_id = I.object_id
AND I.object_type = 'term'
AND I.version = 2
WHERE I.object_id IS NULL
AND taxonomy IN ('category', 'post_tag', 'ngg_tag')
LIMIT 26
Yoast\W\S\A\I\Abstract_Indexing_Action->get_limited_unindexed_count()
Plugin: wordpress-seo
SELECT COUNT(P.ID)
FROM wp_posts AS P
LEFT JOIN wp_yoast_indexable AS I
ON P.ID = I.object_id
AND I.link_count IS NOT NULL
AND I.object_type = 'post'
LEFT JOIN wp_yoast_seo_links AS L
ON L.post_id = P.ID
AND L.target_indexable_id IS NULL
AND L.type = 'internal'
AND L.target_post_id IS NOT NULL
AND L.target_post_id != 0
WHERE ( I.object_id IS NULL
OR L.post_id IS NOT NULL )
AND P.post_status = 'publish'
AND P.post_type IN ('post', 'page')
Yoast\W\S\A\I\Abstract_Indexing_Action->get_total_unindexed()
Plugin: wordpress-seo
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Slow database queries slow down website’ is closed to new replies.