Re: MySQL huge CPU usage
Posted by: Rick James
Date: June 07, 2014 05:46PM

STATUS, without VARIABLES --> not enough information.

Query cache --> rarely much impact on CPU.

Find the "slow" queries -- either through SHOW PROCESSLIST or the slowlog. Then show us one or two queries, together with SHOW CREATE TABLE and EXPLAIN SELECT ...;

We may be able to help you improve the queries to avoid high CPU. Inadequate indexes is a common cause. Or lack of understanding "compound indexes". Or poorly formulated queries.

Options: ReplyQuote


Subject
Written By
Posted
June 06, 2014 12:30PM
Re: MySQL huge CPU usage
June 07, 2014 05:46PM
June 09, 2014 11:32AM


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.