简体   繁体   中英

Amazon RDS Enhanced Monitoring

I have RDS DB with low number of connections on it (usually something around 30 connections), but it shows high CPU load all the time (about 25%). The DB Family (r3.2xlarge) .
As shown in the screenshot below of enhanced monitoring, it shows some processes with high CPU and Memory utilization. what does the numbers that i have marked in rectangles mean? I thought they are the threads' IDs of Queries, but in show processlist, i can't see those numbers!
So briefly:

  1. What does those numbers (in rectangle) mean?
  2. is there anyway to know which query is taking the top utilization of CPU and memory (in realtime, not via slow log)?

在此处输入图片说明

What does those numbers (in rectangle) mean?

They are just process/thread IDs. Don't mean anything.

is there anyway to know which query is taking the top utilization of CPU and memory (in realtime, not via slow log)?

Since you're using MySQL flavor of RDS, connect to your instance with any MySQL client and use SHOW PROCESSLIST; or SHOW FULL PROCESSLIST; commands to see the list of running queries.

https://dev.mysql.com/doc/refman/5.7/en/show-processlist.html

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