Professional Documents
Culture Documents
Objectives
After completing this lesson you should be able to do the following: Set warning and critical alert thresholds Collect and use baseline metrics Use tuning and diagnostic advisors Use the Automatic Database Diagnostic Monitor (ADDM) Manage the Automatic Workload Repository
15-2
Enterprise Manager
Oracle instance
15-3
Thresholds
Each metric can be assigned two thresholds: Warning Critical When thresholds are reached, alerts are triggered by: Notifications that appear in the Alerts region of the Database Control home page Optional e-mail alerts
ALERT
15-4
Setting Thresholds
Enterprise Managers Manage Metrics property page provides access to threshold settings.
15-5
Baseline Measurements
15-6
Using Baselines
15-7
Oracle Database 10g provides several tuning and diagnostic advisors: Automatic Database Diagnostic Monitor (ADDM) SQL Tuning and Access Advisors Memory Advisor Mean-Time-To-Recover (MTTR) Advisor Segment Advisor Undo Management Advisor
15-8
DBA Poorly performing SQL statement Add indexes or materialized views Rewrite the SQL statement SQL Tuning Advisor
15-10
Memory Advisors
15-11
Segment Advisor
Entire tablespace Individual schema objects
15-12
In-memory statistics
SGA
60 minutes MMON
Snapshots
AWR
Built-in repository of performance information Snapshots of database metrics are taken every 60 minutes and retained for 7 days Foundation for all self-management functions
15-13
Retention period
Default 7 days Consider storage needs
Collection interval
Default 30 minutes Consider storage needs, performance impact
Collection level
Basic (disables most of ADDM functionality) Typical (recommended) All (adds additional SQL tuning information to snapshots)
15-14
Snapshots
EM
ADDM
ADDM results AWR
15-15
ADDM Findings
15-16
ADDM Recommendations
15-17
Summary
In this lesson you should have learned how to: Set warning and critical alert thresholds Collect and use baseline metrics Use tuning and diagnostic advisors Use the Automatic Database Diagnostic Monitor (ADDM) Manage the Automatic Workload Repository
15-18
15-19