Analyzing data using Automatic Database Diagnostic Monitor (ADDM)
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.
Getting ready
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 ...
Get Oracle Database 11gR2 Performance Tuning Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.