Oracle 10g DBA Performance Tuning — A 4-Day Course
Training Course Synopsis
Delegates will be introduced to the main concepts of Oracle performance tuning and will gain practical experience in analyzing and tuning database performance. They will learn to identify tuning contentions and be able to take corrective action.
Course Objectives
By the end of the course, delegates will be able to:
- use different tuning methodologies
- use the database advisors to proactively tune a database
- use AWR tools to tune a database
- detect and tune common database performance problems
- use Enterprise Manager to monitor an Oracle database
The delegate will practice:
- Tuning goals and methodology
- Planning initial database configuration
- Tuning database applications for optimal performance
- Identifying and resolving common tuning problems
- Using diagnostic sources
- Logging a SR with Oracle support
- Managing statistics
- Structuring SQL statements for performance
- Using the SQL optimizers
- Using Indexes effectively
- Examining the execution plan of a SQL statement using Explain Plan
- Examining the efficiency of SQL statements using SQL trace and autotrace
- Using table joins
- Monitoring statistics and wait events
- Using metrics, alerts and baselines
- Using statspack
- Using the Automatic Workload Repository
- Tuning the SGA and Shared Pool
- Tuning the data block buffers
- Using Automatic Memory Management
- Setting the PGA and temporary space
- Tuning checkpoint and redo logs
- Managing disk I/O
- Managing undo information
- Tuning block space
- Improving performance with materialized views
- Using parallel execution
Suitable For
- This course is suitable for database administrators, application developers and technical support staff who are required to monitor and tune an Oracle Database 10g.
Prerequisites
Delegates should have a working knowledge of SQL*Plus, PL/SQL and Oracle Database Administration. This can be obtained by attendance on the Oracle SQL and Oracle Database 10g DBA Part I courses. Some operating system experience is essential.
Publicly scheduled dates, locations, and prices
London — £1395 (+VAT)
- 17–20 May 2010
- 5–8 Jul 2010
- 13–16 Sep 2010
- 22–25 Nov 2010
Outline Course Contents
Introduction to Oracle Performance Tuning
- Tuning Overview
- Resolving Performance Problems
- The Oracle Approach to Tuning
- Items to Evaluate
- Where to Look
- Plan a Routine Monitoring Regime
- Build a New Database for Performance
- Tune an Existing Database for Performance
- Set Suitable Goals
Diagnosing Problems
- Diagnostic Sources
- Log a Performance Service Request (SR)
- Tips for Avoiding Problematic Queries
Tools For Evaluating SQL Statements
- Overview of SQL Statement Tuning
- Explain Plan and autotrace
- SQL Trace and the tkprof Program
- Interpreting SQL Trace
The Optimizer
- SQL Optimizer
- The Rule Based Optimizer
- The Cost Based Optimizer
- The Analyze Command
- Manage Statistics with DBMS_STATS
Indexes
- Index Overview
- B*Tree Indexes
- Access Paths with Indexes
- Index Scans
- Conditions That Stop Indexes Being Used
- Parameters Affecting Optimizer Index Choice
Advanced Indexes
- Bitmap Indexes
- Key Compressed Indexes
- Index Organized Tables
- Function Based Indexes
- Descending Indexes
Types of Table joins
- Joining Tables
- Nested Loops Join
- Cluster Join and Hash Join
- Anti Join and Semi Join
- Outer Join
- Star Join
Metrics, Alerts and Baselines
- System Generated Alerts
- Threshold Based Alerts
- Event Based Alerts
- Retrieve Threshold Information
- View Alert Data
- Manage Metrics Using EM
- Blackouts
- Baselines and Adaptive Thresholds
Statspack
- Overview Of Statspack
- Statspack Architecture
- Install Statspack
- Adjust the Statspack Collection Level
- Create, View and Delete Snapshots
- Generate a Report
- Analyze the Reports to Generate an Execution Plan for a Given SQL Statement
- Resolve Wait Events
- Remove Statspack from the Database
Automatic Workload Repository
- Automatic Workload Repository
- Create Snapshots and Compare Snapshots
- Use Baselines
- Generate AWR Reports
- Compare AWR Periods Reports
- Generate Active Session History (ASH) Report
- Automatic Database Diagnostic Monitor (ADDM)
- Generate and Analyze ADDM Reports
Reactive Tuning
- Use Enterprise Manager to Identify Common Problems
- Eliminate Operating System Contentions
Tuning the Shared Pool
- Overview of the Shared Pool
- Alter and Tune the Shared Pool Size
- Tune the Data Dictionary Cache and the Library Cache
- Shared Pool Advisory Statistics
- Pin objects in the Shared Pool
- Cursor Sharing
- Using the Large Pool
- Latches and Mutexes
Tune The Buffer Cache
- Memory Structures
- Data Block Buffer Pool
- Multiple Buffer Caches
- Manage Free Buffers
- Establish the Buffer Pool Efficiency
- Cache Tables in the Buffer Pools
- Common Performance Issues and the Buffer Cache
Automatic Memory Management
- Automatic Memory Management
- Automatic Shared Memory Management
- Memory Allocation Advisors
- The Memory Advisor
- The Shared Pool and Buffer Cache Advisors
Tune PGA and Temporary Space
- PGA Overview
- Automatic PGA Mode
- Configure the PGA for a New Instance
- The Program Global Area Advisor
- PGA Management Data Dictionary Views
- Tune the PGA_AGGREGATE_TARGET
- SQL Operations that Use Sorts
- Sorting to Disk
- Multiple Temporary Tablespaces
- Allocate Temporary Disk Space for Sorting
- Temporary Tablespace Shrink
- Data Dictionary Views and Sort Segments
Checkpoint and Redo Tuning
- Checkpoint and Redo Issues
- Instance Recovery Performance Tuning
- Redo Log File Size Advisor
- Size the Redo Log Buffer
- Set Multiple Database Writers
Tune I/O
- Database I/O Management
- Layout the Files Using OS or Hardware Striping
- Manually Distribute Files to Reduce I/O Contention
- When to Separate Files
- Sample Configurations
- Select the Data Block Size
- Synchronous I/O Benefits
- FILESYSTEMIO_OPTIONS Parameter
- Automatic Storage (ASM) Monitoring
Use Oracle Blocks Efficiently
- Determine the Database Block Size
- Tablespace, Table and Index Storage Parameters
- Automatic Segment Space Management
- Detect and Resolve Freelist Contention
- Rebuild Tables and Indexes
- The DBMS_SPACE Package
- Row Migration
- Chained Rows
- Bigfile Versus Smallfile Tablespaces
- Extended ROWID Format
- Convert from Dictionary Managed Tablespaces
- Convert to Automatic Segment Space Management
Materialized Views
- Overview of Materialized Views
- Materialized View Creation
- Materialized View Refresh
- Query Rewrite
- Materialized View Data Dictionary Views
Parallel Execution
- Overview of Parallel Execution
- Enabling and Using Parallel Execution
- The Degree of Parallelism
- SQL Hints
- Restrictions on the Use of Parallel Execution
- Dictionary Views on Parallel Execution
- Specific Automatic Parallel Query Optimization
- Nologging Options
Tracing Services
- End to End Tracing
- Enable and Disable Tracing
- Check for Tracing Enabled
- The trcess Utility
- Session Based Tracing
- Enable and View SQL Tracing with Enterprise Manager
- Analyze Trace Results
