Exception Reporting with Enterprise Manager
Hypothesis Testing – The senior Oracle DBA
can easily run correlation analysis to detect correlations
between important performance metrics. Queries can be developed
to show the correlation between buffer busy waits and DML per
second for specific tables, averaged over long periods of time.
Comparing a Single Value to a System-wide
Value – For example, issue an alert when the physical writes for
any data files exceeds 25% of total physical writes.
The next section will be an examination of
how an Oracle professional can obtain valuable information from
the AWR.
Exception Reporting with the AWR
At the highest level, exception reporting
involved adding a where clause to a query to eliminate
any values that fall beneath the pre-defined threshold. Below
is a simple script called report_sysstat.sql which
displays a time-series exception report for any statistic in
dba_hist_sysstat. Note that the script accepts the
statistics number and the value threshold for the exception
report.
report_sysstat.sql
--
*************************************************
-- Copyright © 2004 by Rampant TechPress
-- This script is free for non-commercial
purposes
-- with no warranties. Use at your own
risk.