mysql load problems?
-
Hello there
I would really appreciate some assistance with a small problem I am having.
My host (dreamhost) is complaining because of my blog, apparently its causing major strain on the mysql server.
they sent me a mail saying that I should look at the following query;
# Query_time: 1 Lock_time: 0 Rows_sent: 200 Rows_examined: 35062SELECT t.*, tt.*
FROM wp_terms AS t
INNER JOIN wp_term_taxonomy AS tt ON t.term_id =
tt.term_idINNER JOIN wp_term_relationships AS tr ON
tt.term_taxonomy_id = tr.term_taxonomy_idINNER JOIN wp_posts AS p ON tr.object_id = p.ID
WHERE tt.taxonomy IN ( ‘post_tag’ )
AND p.post_date_gmt < ‘2008-02-15 12:32:31’
AND tt.count > 0
GROUP BY t.term_id
ORDER BY RAND()
LIMIT 200;
unfortunately my mysql is pretty bad, I am hoping someone can assist me and tell me what the problem might be?
Thanks in advance, I really appreciate it.
- The topic ‘mysql load problems?’ is closed to new replies.