Download presentation
Presentation is loading. Please wait.
Published byGeorgia Cameron Modified over 9 years ago
1
15 Copyright © 2004, Oracle. All rights reserved. Proactive Maintenance
2
15-2 Copyright © 2004, Oracle. All rights reserved. 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
3
15-3 Copyright © 2004, Oracle. All rights reserved. Server Generated Alerts Server alerts queue Metric exceeds threshold AWR Enterprise Manager Oracle instance
4
15-4 Copyright © 2004, Oracle. All rights reserved. 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
5
15-5 Copyright © 2004, Oracle. All rights reserved. Setting Thresholds Enterprise Manager’s Manage Metrics property page provides access to threshold settings.
6
15-6 Copyright © 2004, Oracle. All rights reserved. Baseline Measurements Baseline measurements provide threshold recommendations based on actual performance data.
7
15-7 Copyright © 2004, Oracle. All rights reserved. Using Baselines To activate a stored baseline: 1. Click Copy Thresholds From Baseline. 2. Select the appropriate threshold.
8
15-8 Copyright © 2004, Oracle. All rights reserved. Tuning and Diagnostic Advisors 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
9
15-9 Copyright © 2004, Oracle. All rights reserved. Tuning and Diagnostic Advisors Full Notes Page
10
15-10 Copyright © 2004, Oracle. All rights reserved. SQL Tuning and Access Advisors DBA Poorly performing SQL statement How can I make it run faster? SQL Tuning Advisor Restructured SQL statement Add indexes or materialized views Rewrite the SQL statement Correct setup flaws
11
15-11 Copyright © 2004, Oracle. All rights reserved. Memory Advisors Shared pool Database buffer cache Program Global Area (PGA)
12
15-12 Copyright © 2004, Oracle. All rights reserved. Segment Advisor Entire tablespace Individual schema objects
13
15-13 Copyright © 2004, Oracle. All rights reserved. Automatic Workload Repository (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 Snapshots MMON In-memory statistics AWR SGA 60 minutes
14
15-14 Copyright © 2004, Oracle. All rights reserved. Managing the AWR 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
15-15 Copyright © 2004, Oracle. All rights reserved. Automatic Database Diagnostic Monitor (ADDM) Runs after each AWR snapshot Monitors the instance and detects bottlenecks Results stored within the AWR Snapshots ADDM AWR EM ADDM results
16
15-16 Copyright © 2004, Oracle. All rights reserved. ADDM Findings
17
15-17 Copyright © 2004, Oracle. All rights reserved. ADDM Recommendations
18
15-18 Copyright © 2004, Oracle. All rights reserved. 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
19
15-19 Copyright © 2004, Oracle. All rights reserved. Practice 15: Proactive Maintenance This practice covers configuring your database for proactive maintenance.
20
15-20 Copyright © 2004, Oracle. All rights reserved. Practice Lesson 15 Full Notes Page
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.