
202 OnDemand SQL Performance Analysis Simplified on DB2 for i5/OS in V5R4
The execution of the query in Example 6-21 produces the result shown in Figure 6-19.
Figure 6-19 SQL requests sorted on Average Runtime
6.4.4 Analyzing SQL operation types
To get an overview of the different SQL operation types that are run during the performance
data collection, use the query shown in Example 6-22.
Example 6-22 SQL operation types
SELECT SUM(qqi6) "Total Time (Mics)", COUNT(*) "Nbr of Requests",
qqc21 "Operation Type" FROM MYDBMON
WHERE qqrid=1000
GROUP BY qqc21 ORDER BY 1 DESC;
Important: Notice that the queries in Example 6-19 and Example 6-21 use QQ1000L ...