MySQL Forums
Forum List  »  General

Re: Mysql 8.0: High CPU Usage
Posted by: Peter Brawley
Date: November 02, 2019 10:57AM

8.0.18? I'm unaware of 8.0.18 build problems inducing high cpu usage.

CPU usage spikes or is continuously high?

What does top say? An i/o bottleneck will show higher cpu%; high mem usage will leave free mem low.

Have you run perf (

If show processlist shows many locked queries, consider increasing max_connections but watch out for mem load.

Result of show variables like '%threads%'?

If global status var ratios ...

Select_range_check / Uptime_since_flush_status

Select_scan / Uptime_since_flush_status

... > 0, optimise those queries.

You've ruled out abusive processes?

If the above doesn't reveal the problem, let's see OS, db size, ram, cpu cores,
peak i/o load, thread counts.

Options: ReplyQuote

Written By
November 02, 2019 09:33AM
Re: Mysql 8.0: High CPU Usage
November 02, 2019 10:57AM
November 04, 2019 03:46AM
November 04, 2019 10:48AM

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.