On Feb 7, 11:36 pm, "Sam Durai" <reachsamdu...@gmail.comwrote:
How can we find out CPU utilization at query level (which query is
using how much % of CPU ) when multiple queries are running in
parallel.. against DB2 database on AIX. Is there any utility, tool,
method in DB2 itself which can be used for this OR is there any third
party tool, utility which can be used ?
- Sam
We were facing the same problem in our production environments. But we
have overcome the issue!!
You can create event monitors for statements and then get the CPU
"time". Those when compared relatively will give you an approx picture
of which query is taking how much CPU and then tune those queries
accordingly.
Saurabh