
512 DB2 Performance Expert for Multiplatforms V2.2
The query in Example B-2 lists the average execution times of all stored
procedures over time grouped by load log ID (LL_ID), application ID, and
statement text ID. A load log ID is assigned each time you load SQL Activity data
into Performance Warehouse by executing an SQL Activity Report process.
To get the statement text, use the predefined query GetSqlStatement and pass
the load log ID and the statement text ID.
If you are not interested in which application called the stored procedure, you can
simply delete this information from the query. Also, enhance the WHERE clause
if you are interested ...