Wait statistics


Job details

Name: Wait statistics
Platform: Oracle
Category: Performance
Description: Collects waits statistics encountered by threads that executed. This task is based on the v$system_event dynamic performance view.
Long description: Collects waits statistics encountered by threads that executed. This task is based on the v$system_event dynamic performance view.
Version: 2.8
Default schedule: 2,7,12,17,22,27,32,37,42,47,52,57 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & (eleven_and_above=‘1′ version like ‘10.2%’) ]

Parameters

Name Default value Description
keep data for 14 Number of days to provide statistics for.
keep aggregated data for 60 Number of days to provide aggregated statistics for.
enable warnings and alarms NO If set to “NO” (default), the alert will only collect performance statistics without returning status warning or alarm.
alarm threshold (time) 30 A period of time (in minutes) which must be passed (combined with average values of total waits) before an alarm is returned by the alert procedure.
warning threshold (time) 10 A period of time (in minutes) which must be passed (combined with average values of total waits) before a warning is returned by the alert procedure.
waits threshold 80 Total waits in percent relative to capacity threshold which is calculated from logical CPU count (cpu_count value from sys.dm_os_sys_info table) multiplied by 60 seconds. If this threshold is reached over a period of time (controlled by parameters “warning/alarm threshold (time)”), a warning/alarm is returned.
ignore wait types The list of wait types to be ignored (separated by comma).

Job Summary

SELECT event, total_waits, time_waited FROM v$system_event WHERE event NOT IN ('Idle');

Details and Mechanics

Configuration and Dependencies

Implementations and Maintenance

Reporting and Visualization

Conclusion

Understanding and monitoring Oracle wait statistics is vital for maintaining optimal database performance. This dbWatch Control Center job automates the gathering, processing, and reporting of these statistics, providing essential insights to database administrators for proactive performance management. Moreover, the adjustable thresholds and comprehensive reporting capabilities ensure that the system remains within operational parameters, thereby avoiding potential performance degradation.