Chapter 11. Performance tuning of DB2 UDB Workgroup Server 351
DB2 SELECT * FROM SYSCAT.EVENTTABLES WHERE EVMONNAME = ’dlmon’
Alternatively, use DB2 LIST TABLES and look for such tables as these:
connheader_dlmon
conn_dlmon
deadlock_dlmon
dlconn_dlmon
dllock_dlmon
control_dlmon
After you choose the table names, you can start analyzing the data that the event
monitor has collected. For example, if you want to look for the long-running
statements, use:
SELECT * FROM STMT_TEST WHERE START_TIME + 60 SECOND < STOP_TIME
If you chose to use a file to store the output of the event monitor, you can analyze
the results by using the db2evmon command. This method is also useful but not
as powerful as the one that uses SQL to analyze the collected ...