MySQL slow queries log
-
During the last 1-2 months I frequently get “Error establishing database connection” about 4-5 times every day. I use SuperCache and the number of plugins I use is small and never had a problem with them.
So something has to do with the WordPress perhaps. I went to check the MySQL slow queries log and ALL of the logs are full with about the same thing:
# Query_time: 1.171499 Lock_time: 0.000167 Rows_sent: 50 Rows_examined: 179433
SELECT * FROM wp_comments c LEFT JOIN wp_posts p ON c.comment_post_ID = p.ID WHERE p.post_status != ‘trash’ ORDER BY c.comment_date_gmt DESC LIMIT 58950, 50Now, what is that? Is this something normal? Or is there a way to fix it? Could this be the cause of the errorI get all the time?
- The topic ‘MySQL slow queries log’ is closed to new replies.