13 Copyright © 2007, Oracle. All rights reserved. Performance Management.

Slides:



Advertisements
Similar presentations
Advanced Oracle DB tuning Performance can be defined in very different ways (OLTP versus DSS) Specific goals and targets must be set => clear recognition.
Advertisements

Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
9 Copyright © 2006, Oracle. All rights reserved. Automatic Performance Management.
13 Copyright © 2005, Oracle. All rights reserved. Monitoring and Improving Performance.
4 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
9 Copyright © 2006, Oracle. All rights reserved. Tuning the Buffer Cache.
13 Copyright © 2005, Oracle. All rights reserved. Performance Management.
5 Copyright © Oracle Corporation, All rights reserved. Using Data Dictionary and Dynamic Performance Views Cui Zhou Oracle Certified Professional.
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:
10 Copyright © 2006, Oracle. All rights reserved. Automatic Shared Memory Management.
Oracle 10g Database Administrator: Implementation and Administration Chapter 14 Proactive Maintenance.
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
13 Copyright © 2004, Oracle. All rights reserved. Oracle Shared Servers.
12 Copyright © 2004, Oracle. All rights reserved. Automatic Management.
12 Copyright © 2007, Oracle. All rights reserved. Database Maintenance.
5 Copyright © 2008, Oracle. All rights reserved. Configuring the Oracle Network Environment.
15 Copyright © 2004, Oracle. All rights reserved. Proactive Maintenance.
2 Copyright © 2006, Oracle. All rights reserved. Performance Tuning: Overview.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
14 Copyright © 2004, Oracle. All rights reserved. Performance Monitoring.
Chapter 20 Other Memory Management Topics
Oracle9i Performance Tuning Chapter 2 Tuning the Buffer Cache.
Oracle Tuning Considerations. Agenda Why Tune ? Why Tune ? Ways to Improve Performance Ways to Improve Performance Hardware Hardware Software Software.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
13 Copyright © 2006, Oracle. All rights reserved. Tuning PGA and Temporary Space.
15 Copyright © 2006, Oracle. All rights reserved. Performance Tuning: Summary.
3 Copyright © 2009, Oracle. All rights reserved. Creating an Oracle Database Using DBCA.
Outline Introduction to Oracle Memory Structures SGA, PGA, SCA The Specifics of the System Global Area (SGA) Structures Overview of Program Global Areas.
1 Chapter 17 Shared Memory Contention. 2 Overview Specifically talking about SGA – Buffer Cache – Redo Log Buffer Contention in these areas of SGA – Can.
8 Copyright © Oracle Corporation, All rights reserved. Configuring the Database Archiving Mode.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
11 Copyright © 2006, Oracle. All rights reserved. Checkpoint and Redo Tuning.
Instance and Media Recovery Structures Supinfo Oracle Lab. 7.
Configuring the Database Archiving Mode
3 Copyright © 2006, Oracle. All rights reserved. Statistics and Wait Events.
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.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
5 Copyright © Oracle Corporation, All rights reserved. Usage and Configuration of the Oracle Shared Server.
15 Copyright © 2004, Oracle. All rights reserved. Debugging Triggers.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Usage and Configuration of the Oracle Shared Server Supinfo Oracle Lab. 5.
21 Copyright © 2008, Oracle. All rights reserved. Enabling Usage Tracking.
8 Copyright © 2006, Oracle. All rights reserved. Tuning the Shared Pool.
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.
1 Copyright © 2006, Oracle. All rights reserved. Introduction.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
Dr. Stephan Bühne SAP Solution Center Walldorf Oracle 9i: Features for SAP Which new Oracle 9i features are helpful for a SAP customer? Dr. Stephan Bühne.
6 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
Copyright  Oracle Corporation, All rights reserved. 3 Oracle Backup and Recovery Configuration.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
Performance Management
Using Data Dictionary and Dynamic Performance Views
Automatic Performance Management
Performance Management
SQL Statement Processing
Managing Database Performance
Index Index.
Presentation transcript:

13 Copyright © 2007, Oracle. All rights reserved. Performance Management

Copyright © 2007, Oracle. All rights reserved Objectives After completing this lesson, you should be able to: Use Enterprise Manager to monitor performance Use Automatic Memory Management (AMM) Use the Memory Advisor to size memory buffers View performance-related dynamic views Troubleshoot invalid and unusable objects

Copyright © 2007, Oracle. All rights reserved Performance Monitoring Memory allocation issues Input/output device contention Application code problems Resource contention Network bottlenecks ? DBA >Perf Mon Tuning Adv Access Adv Memory Stats Invalid Obj

Copyright © 2007, Oracle. All rights reserved Enterprise Manager Performance Page

Copyright © 2007, Oracle. All rights reserved Active Session Page

Copyright © 2007, Oracle. All rights reserved Performance Page: Throughput

Copyright © 2007, Oracle. All rights reserved Performance Monitoring: Top Sessions

Copyright © 2007, Oracle. All rights reserved Performance Monitoring: Top Services

Copyright © 2007, Oracle. All rights reserved Managing Memory Components Automatic Memory Management (AMM) –Enables you to specify total memory allocated to instance (including both SGA and PGA) Automatic Shared Memory Management (ASMM): –Enables you to specify total SGA memory through one initialization parameter –Enables the Oracle server to manage the amount of memory allocated to the shared pool, Java pool, buffer cache, streams pool, and large pool Manually setting shared memory management: –Sizes the components through multiple individual initialization parameters –Uses the Memory Advisor to make recommendations Perf Mon Tuning Adv Access Adv >Memory Stats Invalid Obj

Copyright © 2007, Oracle. All rights reserved Enabling Automatic Memory Management (AMM) Click Enable to enable Automatic Memory Management. Use the Memory Size Advisor.

Copyright © 2007, Oracle. All rights reserved Enabling Automatic Shared Memory Management (ASMM) Click Enable to enable Automatic Shared Memory Management.

Copyright © 2007, Oracle. All rights reserved Automatic Shared Memory Advisor

Copyright © 2007, Oracle. All rights reserved Setting Shared Memory Components Manually

Copyright © 2007, Oracle. All rights reserved Using Memory Advisors

Copyright © 2007, Oracle. All rights reserved Dynamic Performance Statistics Full Notes Page

Copyright © 2007, Oracle. All rights reserved V$SYSTEM_EVENT event total_waits total_timeouts time_waited average_wait time_waited_micro Dynamic Performance Statistics V$SYSSTAT statistic# name class value stat_id V$SESSION_EVENT sid event total_waits total_timeouts time_waited average_wait max_wait time_waited_micro event_id V$SESSTAT sid statistic# value V$SERVICE_EVENT service_name service_name_hash event event_id total_waits total_timeouts time_waited average_wait time_waited_micro V$SERVICE_STATS service_name_hash service_name stat_id stat_name value SystemwideSession specificService specific Cumulative stats Wait events … Access Adv Memory >Stats Invalid Obj

Copyright © 2007, Oracle. All rights reserved Dynamic Performance Statistics Full Notes Page

Copyright © 2007, Oracle. All rights reserved Instance/Database V$DATABASE V$INSTANCE V$PARAMETER V$SPPARAMETER V$SYSTEM_PARAMETER V$PROCESS V$BGPROCESS V$PX_PROCESS_SYSSTAT V$SYSTEM_EVENT Troubleshooting and Tuning Views Disk V$DATAFILE V$FILESTAT V$LOG V$LOG_HISTORY V$DBFILE V$TEMPFILE V$TEMPSEG_USAGE V$SEGMENT_STATISTICS Contention V$LOCK V$UNDOSTAT V$WAITSTAT V$LATCH Memory V$BUFFER_POOL_STATISTICS V$LIBRARYCACHE V$SGAINFO V$PGASTAT

Copyright © 2007, Oracle. All rights reserved Invalid and Unusable Objects Effect on performance: PL/SQL code objects are recompiled. Indexes are rebuilt. Perf Mon Tuning Adv Access Adv Memory Stats >Invalid Obj

Copyright © 2007, Oracle. All rights reserved Invalid and Unusable Objects Full Notes Page

Copyright © 2007, Oracle. All rights reserved Summary In this lesson, you should have learned how to: Use Enterprise Manager to monitor performance Use Automatic Memory Management Use the Memory Advisor to size memory buffers View performance-related dynamic views Troubleshoot invalid and unusable objects

Copyright © 2007, Oracle. All rights reserved Practice 13 Overview: Monitoring and Improving Performance This practice covers the following topics: Detecting and repairing unusable indexes Using the Performance page in Enterprise Manager