Re: Load avg is 65 and cpu is 100% on mysqld
SHOW VARIABLES LIKE 'query%';
Don't set query_cache_size bigger than 50M; it efficiency declines.
Or maybe you should turn off the QC. The ratio hits/inserts is very low.
Then, look in the slowlog to see which queries are slow, and 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 ]
Subject
Views
Written By
Posted
2218
June 20, 2012 05:26AM
Re: Load avg is 65 and cpu is 100% on mysqld
1027
June 21, 2012 12:38AM
1035
June 21, 2012 11:12PM
1091
June 23, 2012 02:06PM
1057
June 24, 2012 12:37AM
1081
June 24, 2012 04:37AM
1030
June 25, 2012 08:06AM
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.