The total time spent on synchronous RUNSTATS activities triggered by real-time statistics gathering, in milliseconds. The synchronous RUNSTATS activities occur during query compilation. At the database level, this monitor element represents the total time spent on synchronous RUNSTATS activities for all the applications running on the database, triggered by real-time statistics gathering. At the statement level, it represents the time spent on the latest synchronous RUNSTATS activities for a particular statement, triggered by real-time statistics gathering. Values reported by all the database partitions are aggregated together.
Snapshot Level | Logical Data Grouping | Monitor Switch |
---|---|---|
Database | dbase | Statement |
Dynamic SQL | dynsql | Statement |
Event Type | Logical Data Grouping | Monitor Switch |
---|---|---|
Database | event_db | - |
Statement | event_stmt | - |
Use this element along with sync_runstats to evaluate the performance impact of synchronous RUNSTATS activities triggered by real-time statistics gathering, at the database level,
For dynamic SQL snapshot monitor, use this element along with total_exec_time and num_executions to evaluate the impact of synchronous RUNSTATS on query performance.
For the statement event monitor, use this element along with stmt_start and stmt_stop for further evaluation of the impact of real-time statistics gathering.