Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
  Oracle Tips by Burleson

Easy Oracle Automation
Chapter 4 -
Automatic Workload Repository and Automatic Database Diagnostic Monitor

Using PL/SQL Packages for Server Generated Alerts

The threshold settings can be changed as needed using the above referenced PL/SQL procedures or OEM. OEM functionalities can also be used to set up notification rules. OEM will display the alert in its console and will notify the administrators registered to receive alerts.  There is no PL/SQL procedure provided to set thresholds based on baselines.  DB Control has a screen that shows the metric values based on baselines. 

The amount that thresholds are to be higher or lower than the baseline values can be specified by percentage.  DB Control then sets the thresholds using the derived values for each metric using the DBMS_SERVER_ALERT.SET_THRESHOLD procedure. All thresholds except for space related alerts should be explicitly defined. Set the statistical_level initialization parameter to TYPICAL or ALL.

The metric values are regularly calculated by MMON and kept in memory for an hour. These in-memory values can be queried from the v$sysmetric and v$sysmetric_history views. By enabling the automatic snapshot mechanism of AWR, these metrics can be collected on disk. The on-disk values can be viewed from dba_hist_* views. Remember that the metric history is purged periodically like other snapshots.

v$alert_types, dba_outstanding_alerts, dba_alert_history, and dba_thresholds are some of the dictionary views used to view alert information.  Note the following:


The above text is an excerpt from:

Easy Oracle Automation
Oracle10g Automatic Storage, Memory and Diagnostic Features

ISBN 0-9745993-6-0

by Dr. Arun Kumar R.
 


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2016 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks