25 Jan 2021 09:48 AM - last edited on 10 Jun 2021 12:05 PM by MaciejNeumann
Hi all,
I want to know ?
1.CPU Utilization % per CPU Core
ex. DB server have 8 core. I can see how during perdormance test each CPU core run.
2.CPU Utilization % per SQL Statement
ex. Which SQL statements cause heavy CPU usage?
Thank you
Solved! Go to Solution.
25 Jan 2021 09:53 AM
Hello @dynatrace A.
According to the below documentation link, database code-level based monitoring can see how much load is placed on your databases by individual services.
Regards,
Babar
26 Jan 2021 09:11 AM
Hi,
This is correct - on the service level, we cen tell how may queries of what kind is the service issuing against the database and how much time did the database need to serve them. Which characterizes the load placed on the database by the service.
But we can't universally analyze the load on the database server, i.e. tell that specific queries took more database server CPU and others waited for disks, etc. As Darek said, this would be possible for some databases, but for others it's not practical or not feasible. We will have it for Oracle, we look to have it for MSSQL, perhaps. For other databases - the jury is still out.
Best regards
Kris
25 Jan 2021 10:44 AM
1. no - OneAgent is capable of tracking CPU usage on a host, but without splitting the metric by the CPU core
2. server side and Oracle only - DBInsights. Planned as a part of DB monitoring extensions, but there's no exact ETA
BR, Darek
17 Aug 2023 10:59 AM
1) Is kind of a pity. It shall have to come from native tools.
For instance, it would be helpful to detect single-threaded processes. Those that only use one core (and max that core out), while the system itself has plenty.