Re: MySQL using 80-90% of CPU
What's the rest of the statment? SHOW FULL PROCESSLIST;
SHOW VARIABLES LIKE '%slow%';
+---------------------+-------+
| Variable_name | Value |
+---------------------+-------+
| log_slow_queries | OFF | <- should be ON
| slow_launch_time | 2 | <- 2 (seconds) is good
| slow_query_log | OFF | <- 5.1: write to table
| slow_query_log_file | ON | <- write to file (or filename)
+---------------------+-------+
Subject
Written By
Posted
Re: MySQL using 80-90% of CPU
May 12, 2009 01:45PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.