0% found this document useful (0 votes)
218 views

Oracle Performance Tuning

The document discusses tuning Oracle database performance. It covers identifying performance issues, tools for monitoring and analyzing performance like the Automatic Workload Repository and SQL Performance Analyzer, and techniques for tuning specific database components and resources like the shared pool, buffer cache, PGA, memory allocation, and I/O. The goal of performance tuning is to apply the tuning methodology, address common problems, and optimize the database, SQL statements, and operating system resources.

Uploaded by

krrishsoft071
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
218 views

Oracle Performance Tuning

The document discusses tuning Oracle database performance. It covers identifying performance issues, tools for monitoring and analyzing performance like the Automatic Workload Repository and SQL Performance Analyzer, and techniques for tuning specific database components and resources like the shared pool, buffer cache, PGA, memory allocation, and I/O. The goal of performance tuning is to apply the tuning methodology, address common problems, and optimize the database, SQL statements, and operating system resources.

Uploaded by

krrishsoft071
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Oracle Database Performance Tuning

1) Performance Tuning Overview

 Write appropriate tuning goals


 Apply the tuning methodology
 Identify common tuning problems
 Log a performance Service Request with Oracle Support

2) Basic Tuning Tools

 Monitoring tools overview


 Enterprise Manager
 V$ Views, Statistics and Metrics
 Wait Events

3) Using Automatic Workload Repository(AWR)

 Managing the Automatic Workload Repository Create AWR Snapshots


 Generate AWR reports
 Create snapshot sets and compare periods
 Generate ADDM reports
 Generate ASH reports
 Real Time SQL Monitoring

4) Defining Problems

 Defining the Problem


 Top SQL Reports
 ADDM Tuning Session
 Performance versus Business Requirements
 Performance Tuning Resources & Filing a Performance Service Request

5) Using Metrics and Alerts

 Metrics, Alerts, and Baselines


 Limitation of Base Statistics & Typical Delta Tools
 Benefits of Metrics
 Viewing Metric History Information & using EM to View Metric Details
 Statistic Histograms & Histogram Views
 Database Control Usage Model & Setting Thresholds

6) Identifying Problem SQL Statements


 SQL Statement Processing Phases & Role of the Oracle Optimizer
 Identifying Bad SQL, Real Time SQL Monitoring
 What Is an Execution Plan? Methods for Viewing Execution Plans & Uses of Execution Plans
 DBMS_XPLAN Package: Overview & EXPLAIN PLAN Command
 Reading an Execution Plan, Using the V$SQL_PLAN View & Querying the AWR
 SQL*Plus AUTOTRACE & SQL Trace Facility
 How to Use the SQL Trace Facility
 Generate an Optimizer Trace

7) Understanding Operating System Resources

 Understanding Operating System Performance Issues


 Solving Operating System Problems
 Understanding CPU
 Finding System CPU Utilization

8) Using SQL Performance Analyzer

 Real Application Testing: Overview & Use Cases


 SQL Performance Analyzer: Process & Capturing the SQL Workload
 Creating a SQL Performance Analyzer Task & SPA
DBMS_SQLTUNE.CREATE_TUNING_TASK
 Database reply
 Comparison Report & Comparison Report SQL Detail

9) SQL Performance Management

 Maintaining SQL Performance and Optimizer Statistics & Automated Maintenance Tasks
 Statistic Gathering Options & Setting Statistic Preferences
 Restore Statistics
 Deferred Statistics Publishing
 Automatic SQL Tuning
 SQL Tuning Advisor
 Using the SQL Access Advisor

10) Tuning Networks

 Understanding Connection Models


 Detecting Network Problems
 Solving Network Problems

11) Tuning the Shared Pool

 Shared Pool Architecture & Operation


 The Library Cache & Latch and Mutex
 Diagnostic Tools for Tuning the Shared Pool
 Avoiding Hard & Soft Parses
 Sizing the Shared Pool & Avoiding Fragmentation
 Data Dictionary Cache & SQL Query Result Cache
 Large Pool & Tuning the Large Pool

12) Tuning the Buffer Cache

 Oracle Database Architecture: Buffer Cache


 Database Buffers
 Buffer Cache Tuning Goals and Techniques
 Buffer Cache Performance Symptoms & Solutions
 Automatically Tuned Multiblock Reads
 Flushing the Buffer Cache (for Testing Only)

13) Tuning PGA and Temporary Space

 SQL Memory Usage & Performance Impact


 SQL Memory Manager
 Configuring Automatic PGA Memory & Setting PGA_AGGREGATE_TARGET Initially
 Monitoring & Tuning SQL Memory Usage
 PGA Target Advice Statistics & Histograms
 Automatic PGA and Enterprise Manager & Automatic PGA and AWR Reports
 Temporary Tablespace Management: Overview & Monitoring Temporary Tablespace
 Temporary Tablespace Shrink & Tablespace Option for Creating Temporary Table

14) Automatic Memory Management – MEMORY_TARGET

 Oracle Database Architecture, Dynamic SGA & Memory Advisories


 Increasing the Size of an SGA Component
 Behavior of Auto-Tuned & Manually Tuned SGA Parameters
 Using the V$PARAMETER View & Resizing SGA_TARGET
 Disabling, Configuring & Monitoring Automatic Shared Memory Management (ASMM)

15) Tuning I/O

 I/O Architecture, File System Characteristics, I/O Modes & Direct I/O
 Enterprise Manager
 Stripe and Mirror Everything
 Using RAID
 I/O Diagnostics
 Database I/O Tuning

******************THE END*************************

You might also like