[Plugin: Simple Tags] Slow query in 1.5.7
-
Hi. We’ve recently started using this plugin and have noticed the sites’ performance slowing considerably. Some debugging turned up a query which was regularly taking a long time, and sucking up a *lot* of CPU;
# Query_time: 8 Lock_time: 0 Rows_sent: 15 Rows_examined: 72220
SELECT t.*, tt.*
FROM wp_terms AS t
INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id
INNER JOIN wp_term_relationships AS tr ON tt.term_taxonomy_id = tr.term_taxonomy_id
INNER JOIN wp_posts AS p ON tr.object_id = p.ID
WHERE tt.taxonomy IN ( ‘post_tag’ )
AND p.post_date_gmt < ‘2008-10-27 23:24:03’
AND tt.count > 0
GROUP BY t.term_id
ORDER BY tt.count DESC
LIMIT 15;Has anybody else encountered this problem, and if so, what have you done to alleviate it?
- The topic ‘[Plugin: Simple Tags] Slow query in 1.5.7’ is closed to new replies.