wp sql query: takes too long: how to figure out why?
-
I have a low traffic site with 2000 pages. I run thesis theme framework and I use 4 widgets https://www.imaginaryplanet.net/weblogs/idiotprogrammer/ and 2 simple plugins. I put 10 posts on the main page and 18 teasers.
i got this message from my web hosting service (see below).
Any idea what might be causing this?
Also, would wp-super-cache reduce the number of queries?Thanks.
******************************************
The database is “rjnagle_jen” on “web27.hosting.com” and the query is:
SELECT SQL_CALC_FOUND_ROWS b2posts.* FROM b2posts WHERE 1=1 AND b2posts.post_type = ‘post’ AND (b2posts.post_status = ‘publish’) ORDER BY b2posts.post_date DESC LIMIT 0, 10A query that takes so long is usually a sign that
something isn’t optimized and the query is clogging
the server and impacting other users.From April 12th 2010 we will be killing all MySql
SELECT queries that take over 1 min unless you
contact us first and explain to us why you need
to run a query for longer.
- The topic ‘wp sql query: takes too long: how to figure out why?’ is closed to new replies.