SELECT SQL_CALC_FOUND_ROWS causing crashes
-
My website has picked up in numbers recently thanks to a couple of mentions on the web, and we would get up to 20 users joining every 5 minutes. This eventually leads to my website going down (apparently overloading their server), with the hosting providing the following reason:
| 463295 | xxx | localhost | xxx | Query | 3047 | statistics | SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts JOIN wp_postmeta meta0 ON meta0.post_id=wp_pos |
| 463997 | xxx | localhost | xxx | Query | 2730 | statistics | SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts JOIN wp_postmeta meta0 ON meta0.post_id=wp_pos |I selected the 2 slowest queries to show here. Obviously 3000 seconds is not a good thing. I don’t know WordPress coding at all, and need help to fix this code, or to just get everything running faster.
Any ideas?
- The topic ‘SELECT SQL_CALC_FOUND_ROWS causing crashes’ is closed to new replies.