14 Copyright © 2004, Oracle. All rights reserved. Performance Monitoring.

Slides:



Advertisements
Similar presentations
Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
Advertisements

9 Copyright © 2006, Oracle. All rights reserved. Automatic Performance Management.
Chapter 9. Performance Management Enterprise wide endeavor Research and ascertain all performance problems – not just DBMS Five factors influence DB performance.
13 Copyright © 2005, Oracle. All rights reserved. Monitoring and Improving Performance.
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
© Bharati Vidyapeeths Institute of Computer Applications and Management, New Delhi © Bharati Vidyapeeths Institute of Computer Applications and.
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
4 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
AppMetrics – Monitoring for COM+ Components Scott Matsumoto Chief Technical Officer Xtremesoft, Inc.
13 Copyright © 2005, Oracle. All rights reserved. Performance Management.
13 Copyright © 2007, Oracle. All rights reserved. Performance Management.
5 Copyright © Oracle Corporation, All rights reserved. Using Data Dictionary and Dynamic Performance Views.
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
12 Copyright © 2005, Oracle. All rights reserved. Proactive Maintenance.
The Self-managing Database: Automatic Performance Diagnosis Graham Wood Kyle Hailey Oracle Corporation Session id:
Oracle 10g Database Administrator: Implementation and Administration Chapter 14 Proactive Maintenance.
12 Copyright © 2004, Oracle. All rights reserved. Automatic Management.
12 Copyright © 2007, Oracle. All rights reserved. Database Maintenance.
15 Copyright © 2004, Oracle. All rights reserved. Proactive Maintenance.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
2 Copyright © 2006, Oracle. All rights reserved. Performance Tuning: Overview.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
9 Copyright © 2005, Oracle. All rights reserved. Administering User Security.
1Introduction Objectives 1-2 Course Objectives 1-3 Oracle Products 1-4 Relational Database Systems 1-5 How the Data Is Organized 1-6 Integrity Constraints.
Preface 1 Introduction Course Objectives 1-2 How DBAs Spend Their Time 1-3 Oracle Database 10g Manageability Goals 1-4 Database Management Challenges 1-5.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
1 Robert Wijnbelt Health Check your Database A Performance Tuning Methodology.
I Copyright © 2004, Oracle. All rights reserved. Introduction Copyright © 2004, Oracle. All rights reserved.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
7 Copyright © 2004, Oracle. All rights reserved. Administering Users.
18 Copyright © Oracle Corporation, All rights reserved. Workshop.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 9: Database Administration Jerry Post Copyright © 2003.
What is a schema ? Schema is a collection of Database Objects. Schema Objects are logical structures created by users to contain, or reference, their data.
16 Copyright © 2004, Oracle. All rights reserved. Undo Management.
3 Copyright © 2009, Oracle. All rights reserved. Creating an Oracle Database Using DBCA.
1 Oracle Enterprise Manager Slides from Dominic Gélinas CIS
11 Copyright © 2004, Oracle. All rights reserved. Dealing with Database Corruption.
Oracle Confidential and Proprietary EM Product Layout for Performance Database Home Page Database Performance Page Drilldowns SQL Session.
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
6 Copyright © 2007, Oracle. All rights reserved. Managing Database Storage Structures.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
1 Copyright © 2005, Oracle. All rights reserved. Following a Tuning Methodology.
Preface 1Performance Tuning Methodology: A Review Course Structure 1-2 Lesson Objective 1-3 Concepts 1-4 Determining the Worst Bottleneck 1-5 Understanding.
E Copyright © 2006, Oracle. All rights reserved. Oracle Shared Servers.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
10 Copyright © 2004, Oracle..All rights reserved. PL/SQL.
11 Copyright © 2007, Oracle. All rights reserved. Using Flashback Technology.
8 Copyright © 2005, Oracle. All rights reserved. Gathering Statistics.
8 Copyright © 2005, Oracle. All rights reserved. Managing Schema Objects.
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
17 Copyright © 2006, Oracle. All rights reserved. Information Publisher.
3 Copyright © 2006, Oracle. All rights reserved. Designing and Developing for Performance.
2 Copyright © 2005, Oracle. All rights reserved. Installing Oracle Software and Creating the Database.
6 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
Data, Space and Transaction Processing
Table spaces.
Performance Management
Performance Management
Proactive Maintenance
Workshop.
Index Index.
Presentation transcript:

14 Copyright © 2004, Oracle. All rights reserved. Performance Monitoring

14-2 Copyright © 2004, Oracle. All rights reserved. Objectives After completing this lesson you should be able to do the following: Troubleshoot invalid and unusable objects Gather optimizer statistics View performance metrics React to performance issues

14-3 Copyright © 2004, Oracle. All rights reserved. Performance Monitoring Memory allocation issues Memory allocation issues Input/output device contention Input/output device contention Application code problems Application code problems Resource contention Resource contention Network bottlenecks Network bottlenecks ? DBA

14-4 Copyright © 2004, Oracle. All rights reserved. Monitoring Methodologies Reactive Proactive –Server-generated alerts –Automated Database Diagnostic Monitor (ADDM)

14-5 Copyright © 2004, Oracle. All rights reserved. Database and Instance Metrics Several hundred different performance statistics are available through: Data dictionary Dynamic performance views Optimizer statistics DBA

14-6 Copyright © 2004, Oracle. All rights reserved. Database and Instance Metrics Notes Only Page

14-7 Copyright © 2004, Oracle. All rights reserved. Data Dictionary Metrics Object status: PL/SQL code objects Indexes

14-8 Copyright © 2004, Oracle. All rights reserved. Invalid and Unusable Objects PL/SQL code objects are recompiled. Indexes are rebuilt.

14-9 Copyright © 2004, Oracle. All rights reserved. Invalid and Unusable Objects Full Notes Page

14-10 Copyright © 2004, Oracle. All rights reserved. Optimizer Statistics Optimizer statistics are: Not real-time Persistent across instance restarts SQL> SELECT COUNT(*) FROM hr.employees; COUNT(*) SQL> SELECT num_rows FROM dba_tables 2 WHERE owner='HR' AND table_name = 'EMPLOYEES'; NUM_ROWS

14-11 Copyright © 2004, Oracle. All rights reserved. Optimizer Statistics Full Notes Page

14-12 Copyright © 2004, Oracle. All rights reserved. Manually Gather Optimizer Statistics If database was not created with the DBCA If tables are extremely volatile

14-13 Copyright © 2004, Oracle. All rights reserved. Automate Optimizer Statistics Collection Use the Oracle Scheduler to automate customized statistics collection.

14-14 Copyright © 2004, Oracle. All rights reserved. Schedule Optimizer Statistics Collection Statistics should be gathered as needed to ensure the optimizer can make appropriate decisions.

14-15 Copyright © 2004, Oracle. All rights reserved. Dynamic Performance Views Dynamic Performance views are: Real-time Non-persistent across instance restarts SQL> SELECT name, value FROM v$sysstat 2 WHERE name='sorts (memory)' ORDER BY name; NAME VALUE sorts (memory) SQL> / NAME VALUE sorts (memory)

14-16 Copyright © 2004, Oracle. All rights reserved. Viewing Metric Information Use the All Metrics link in the Related Links region. Drill-down for in-depth analysis.

14-17 Copyright © 2004, Oracle. All rights reserved. Reacting to Performance Issues Use Enterprise Manager to: Find key performance issues Drill down to the root cause

14-18 Copyright © 2004, Oracle. All rights reserved. Reacting to Performance Issues Drill down into performance measurements to identify bottlenecks Key bottleneck: log buffer space

14-19 Copyright © 2004, Oracle. All rights reserved. Summary In this lesson you should have learned how to: Troubleshoot invalid and unusable objects Gather optimizer statistics View performance metrics React to performance issues

14-20 Copyright © 2004, Oracle. All rights reserved. Practice 14: Monitoring Performance This practice covers the following: Viewing performance metrics Repairing unusable indexes Manually collecting optimizer statistics Automating statistics collection

14-21 Copyright © 2004, Oracle. All rights reserved. Practice Lesson 14 Full Notes Page

14-22 Copyright © 2004, Oracle. All rights reserved. Practice Lesson 14 Full Notes Page