Re: Major MySQL problems
Posted by:
Rick James
Date: February 11, 2010 10:45PM
The settings cannot fix a high CPU problem. Find the slow queries (do SHOW PROCESSLIST, or look at the slowlog), then provide
* SHOW CREATE TABLE tbl\G -- engine, indexes
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
* EXPLAIN SELECT ...\G -- clues of inefficiencies
* SHOW VARIABLES LIKE '%buffer%'; -- cache size
and surround them with [ code ] and [ / code ]
How much RAM do you have?
Recommend changing long_query_time to 2 to get more slow queries in the slowlog.
Subject
Views
Written By
Posted
5099
February 10, 2010 04:26AM
Re: Major MySQL problems
2625
February 11, 2010 10:45PM
2443
February 12, 2010 07:17AM
1961
February 12, 2010 11:04AM
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.