After optimization database query using a lot of resources, cpu
-
After running the Optimize Database after Deleting Revisions plugin, the CPU of the web server runs high almost all the time. I mean it goes up and dow, but stays in high utilization.
I logged onto the server, I looked in to the MySQL using the “show processlist;” commands and I’m noticing this process that executes, terminates, and executes again over and over even after restarting the server.
This is how it appears in the “Info” column:
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.
Sometimes I even see multiple of the same query running.How can i fix the problem?
Thanks,
- The topic ‘After optimization database query using a lot of resources, cpu’ is closed to new replies.