January 2012
Intermediate to advanced
542 pages
11h 28m
English
In this recipe, we present the Automatic Database Diagnostic Monitor, a tool which analyzes the data collected by AWR to diagnose the cause of a performance problem, providing advice on how to solve the issue.
ADDM is enabled by default in Oracle Database 11g; it depends upon two configuration parameters of the init.ora file, STATISTICS_LEVEL and CONTROL_MANAGEMENT_PACK_ACCESS. The value for these parameters should be TYPICAL or ALL for the former and DIAGNOSTIC or DIAGNOSTIC+TUNING for the latter. To show the current parameter values, we can use the following statement:
SHOW PARAMETER STATISTICS_LEVEL SHOW PARAMETER CONTROL_MANAGEMENT_PACK_ACCESS
While to set the parameters ...