MySQL Forums
Forum List  »  Optimizer & Parser

Re: Mysql using 95% of cpu
Posted by: Rick James
Date: July 22, 2011 07:33PM

My standard answer to request for help with performance:

To assist in analyzing slow SELECTs, please 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?

Options: ReplyQuote

Written By
July 21, 2011 08:57AM
Re: Mysql using 95% of cpu
July 22, 2011 07:33PM
September 22, 2011 06:11AM
September 23, 2011 09:14AM

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.