Too many SQL Queries – Extremely slow wordpress site
-
Hi, i have a problem with my site
It’s very slow, i contact with my datacenter and sent me this:
Your server is overloaded because there are a lot of mysql queries which you can see below. The queries are no completing fast enough and overload entire server. As you can see there are queries which are running for 60-70 seconds which is unacceptable. Your developer need to check and optimize them.
——————————————–+
| 2388 | user | localhost | blog | Sleep | 71 | | |
| 2390 | user | localhost | blog | Sleep | 87 | | |
| 2475 | user | localhost | blog | Sleep | 1 | | |
| 2476 | user | localhost | blog | Sleep | 43 | | |
| 2488 | user | localhost | blog | Sleep | 40 | | |
| 2489 | user | localhost | blog | Sleep | 3 | | |
| 2492 | user | localhost | blog | Sleep | 39 | | |
| 2494 | user | localhost | blog | Query | 21 | Copying to tmp table | SELECT wp_terms.slug, wp_posts.ID,
wp_posts.post_name, wp_posts.post_title, wp_posts.post_author |
| 2495 | user | localhost | blog | Sleep | 39 | | |
| 2516 | user | localhost | blog | Query | 21 | Writing to net | SELECT wp_terms.slug, wp_posts.ID,
wp_posts.post_name, wp_posts.post_title, wp_posts.post_author |
| 2517 | user | localhost | blog | Sleep | 29 | | |
| 2518 | user | localhost | blog | Sleep | 1 | | |
| 2519 | user | localhost | blog | Sleep | 28 | | |
| 2524 | user | localhost | blog | Query | 19 | Copying to tmp table | SELECT wp_terms.slug, wp_posts.ID,
wp_posts.post_name, wp_posts.post_title, wp_posts.post_author |
| 2525 | user | localhost | blog | Sleep | 21 | | |
| 2529 | user | localhost | blog | Query | 17 | Copying to tmp table | SELECT wp_terms.slug, wp_posts.ID,
wp_posts.post_name, wp_posts.post_title, wp_posts.post_author |
| 2530 | user | localhost | blog | Sleep | 19 | | |
| 2533 | user | localhost | blog | Query | 11 | Copying to tmp table | SELECT wp_terms.slug, wp_posts.ID,
wp_posts.post_name, wp_posts.post_title, wp_posts.post_author |
| 2534 | user | localhost | blog | Sleep | 13 | | |
| 2535 | user | localhost | blog | Sleep | 3 | | |
| 2536 | user | localhost | blog | Sleep | 12 | | |
| 2540 | user | localhost | blog | Sleep | 0 | | |
| 2541 | user | localhost | blog | Sleep | 9 | | |
| 2542 | user | localhost | blog | Query | 4 | Copying to tmp table | SELECT wp_terms.slug, wp_posts.ID,
wp_posts.post_name, wp_posts.post_title, wp_posts.post_author |
| 2543 | user | localhost | blog | Sleep | 7 | | |
| 2544 | user | localhost | blog | Query | 3 | Copying to tmp table | SELECT wp_terms.slug, wp_posts.ID,
wp_posts.post_name, wp_posts.post_title, wp_posts.post_author |
| 2545 | user | localhost | blog | Sleep | 7 | | |
| 2546 | user | localhost | blog | Sleep | 0 | | |
| 2547 | user | localhost | blog | Sleep | 5 | | |
| 2548 | user | localhost | blog | Query | 1 | Writing to net | UPDATEwp_options
SEToption_value
= ‘a:8:{i:0;b:0;s:29:\”nextgen-gallery/nggallery.php\”;a:2:{i |
| 2549 | user | localhost | blog | Sleep | 4 | | |
| 2550 | user | localhost | blog | Query | 1 | Copying to tmp table | SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts. |
| 2551 | user | localhost | blog | Sleep | 0 | | |
| 2552 | user | localhost | blog | Sleep | 4 | | |
| 2553 | user | localhost | blog | Sleep | 1 | | |
| 2555 | user | localhost | blog | Sleep | 1 | | |
| 2556 | user | localhost | blog | Sleep | 2 | | |
| 2557 | user | localhost | blog | Query | 0 | Sending data | SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = ‘post’ AND |
| 2558 | user | localhost | blog | Sleep | 0 | | |
| 2559 | user | localhost | blog | Sleep | 0 | | |
| 2560 | user | localhost | blog | Sleep | 0 | | |what can i do to fix the problem?
Any help?
- The topic ‘Too many SQL Queries – Extremely slow wordpress site’ is closed to new replies.