MySQL slow down on standard queries
-
I am having issues with major throttling via my host (bluehost pro account) from my multisite install at adaptistration.com.
According to the mysql_slow_queries log, it seems that some typical WP functions are the culprit (as opposed to a plugin, which I know is usually the case). Here’s what the log is identifying as the problem (and has been for the last few snapshots):
# Sun Jul 3 08:21:01 2011 # Query_time: 1.186702 Lock_time: 0.000132 Rows_sent: 7 Rows_examined: 35 use orchestr_sswp12; SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (3500, 1226, 1069, 982, 887) ORDER BY t.name ASC
Granted, I’m no expert in this area so maybe I’m missing something but here is some additional info to help troubleshoot:
- I optimize my database tables once a week.
- I run WP Super Cache on all of the multisite installs.
- I check the mysql_slow_queries log after installing a plugin I’ve never used before so as to monitor its impact.
It seems that taking over a second to run what I believe are standard WP queries is a really long time and that seems to be the heart of the issue. But I could be wrong, which is why I’m here looking for help.
If this is an issue with the standard queries then I have no idea how to fix that or if it deserves a trac ticket. Could the theme be causing the problem, etc.?
Thanks in advance for the insight and help.
Drew
P.S. One additional piece of potentially useful info: all of the sites running in the multisite install had their own, individual WP install on the same hosting account; meaning, there was no introduction of new accounts or loading the hosting account up with a bunch of additional domain names etc.
- The topic ‘MySQL slow down on standard queries’ is closed to new replies.