# How Investigating High CPU Usage By using Percona

**URL:** <https://forums.percona.com/t/how-investigating-high-cpu-usage-by-using-percona/25002>\
**Category:** Other MySQL® Questions\
**Tags:** mysql, percona\
**Created:** [September 7, 2023, 7:42am UTC](https://forums.percona.com/t/how-investigating-high-cpu-usage-by-using-percona/25002 "2023-09-07T07:42:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh\_Gandhavarapu](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/rajesh_gandhavarapu/32/12526_2.png) [@Rajesh\_Gandhavarapu](https://forums.percona.com/u/Rajesh_Gandhavarapu)\
**Post date:** [September 7, 2023, 7:42am UTC](https://forums.percona.com/t/how-investigating-high-cpu-usage-by-using-percona/25002/1 "2023-09-07T07:42:54Z")

</div>

Hi Everyone,

With a multitude of schemas in my database, CPU usage often spikes. Is it possible to use Percona to analyze this situation, specifically by detecting slow queries when the CPU usage is at its peak?"

This information would be highly valuable and helpful to me.

---

<div class="post-metadata">

**Author:** ![Mughees\_Ahmed](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mughees_ahmed/32/9028_2.png) [@Mughees\_Ahmed](https://forums.percona.com/u/Mughees_Ahmed)\
**Post date:** [September 7, 2023, 8:32am UTC](https://forums.percona.com/t/how-investigating-high-cpu-usage-by-using-percona/25002/2 "2023-09-07T08:32:24Z")

</div>

@Rajesh_Gandhavarapu I will highly recommend configuring percona PMM to check why your CPU is high, you can look into this blog [A Simple Approach to Troubleshooting High CPU in MySQL](https://www.percona.com/blog/a-simple-approach-to-troubleshooting-high-cpu-in-mysql/) if you have queries which are causing the CPU spikes. Mostly it’s the queries and bad indexing.
