MySQL Forums
Forum List  »  InnoDB

Re: High CPU usage by mysql process
Posted by: Shane Bester
Date: May 08, 2016 04:18AM

this is really a shot in the dark, but can you check these two queries?


select benchmark(50000000,(1234*5678/37485-1298+8596^2)); #should take less than 16 seconds

select * from performance_schema.setup_instruments where name like 'wait/sync%' and (enabled='yes' or timed='yes');

If the second query returns many rows, you may have too much P_S instrumentation enabled, which can consume a lot of CPU.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: High CPU usage by mysql process
1776
May 08, 2016 04:18AM


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.