简体   繁体   中英

Sometimes RDS CPU utilization is going to very high

We are using AWS RDS in MySQL For our app purpose. Normally that Cpu Utilization is running on 40% to 60%. Sometimes that CPU Utilization is going to be very high. That maintains 100% of CPU Utilization. I don't know-how is that possible and How I solve this. But, When I Upgrade our DB engine the problem was solved. After 3 days I downgrade the DB engine the CPU working fine. Two months later again the same problem is created. Again I upgrade and downgrade the CPU Engine.

Does anyone explain How can I solve this issue?

If the CPU Utilization is 40% - 60% normally, most likely there is a query running long to make the CPU Utilization to 100%.

Have you tried to run show full processlist during 100% CPU Utilization to find out if there is a long runtime query?

I would suggest the reason of upgrading and downgrading action solves the problem is that it is rebooted the RDS and killed the long runtime query.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM