Sie sind auf Seite 1von 14

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

Course benefits
This course will help participants learn effective Oracle tuning techniques for
optimizing performance in the Oracle server environment. Topics in this course
are troubleshooting application performance, by analyzing the various options
available in Oracle 11g like wait events, hints and creating/ modifying existing
physical, logical structures, understanding various new structures available in
Oracle to improve performance.
Oracle Database 11G offers improved administration and maintenance features,
including an expanded automation toolset. This assists in maintaining vital data
and allows organizations to ensure high availability, performance and integrity
of their database systems.
Who should attend?
This course is valuable for candidates who have good knowledge in
Oracle 11g SQL, PLSQL and some prior knowledge in DB concepts.
Sessions reinforce the learning objectives and provide participants the
opportunity to gain immediate, hands-on reinforcement of the ideas you are
learning.

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

DAY 1:
Introduction
What is Performance Tuning?

Trade-offs Between Response Time and Throughput

Critical Resources
Steps for Tuning
Prioritized Steps of the Tuning Method

Measurable Tuning Goals


Memory Structure
Automatic Memory Management(AMM)
Tune the Logical Structure of the Database
Using Oracle blocks efficiently

About multiple block sizes in oracle

Improving I/O by using multiple block sizes

Creating Indexes using multiple block sizes

How to Choose Data Block Size


Database structures and SQL
Effect of PCTFREE & PCTUSED on DML

Row Chaining & Row Migration


Table high-water mark, Free and Unused space

Row-resequencing and Oracle SQL I/O performance

Mirroring and Stripping using ASM

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

Understanding ROWID
How is rowid used within Oracle

Structure and usage of Rowid

Using Rowid to make select faster


Partitioning and their Storage related
enhancements to enhance I/O performance
Partitioning Advantage
Type of Partitioning Partition Pruning
Local Index Global Index
Materialized View
Purpose of Materialized views

Comparison with a normal view

Refreshing MV
Query Rewrite
Rewrite or Error

Differentiating MV with normal views


About sorts
Automatic PGA memory management

Tuning sorts in Oracle

PGA advisor

Using Temporary Tablespace and groups

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

Diagnose PGA memory issues


Day 2:
Wait Events
Enhanced Session Waits

Event histogram

Session wait history Time Model: Overview


Will cover a minimum of common 8 wait events. Will
create to replicate wait event scenarios.
Real Time SQL Monitoring
Appending data above HWM Advantage
using hints

direct path load


Sizing Shared Pool
Interpreting the V$LIBRARYCACHE Table

Reducing Library Cache Misses

Loading PL/SQL Objects into the Shared Pool


PL/SQL Function Result Cache
Using result cache hint

Cached and not cached clause in Function


SQL Result Cache

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

Using and Managing Result cache

R
e
b
u
i
l
d
i
n
g

RESULT_CACHE_MODE

Sizing the Buffer Cache


Buffer Cache

Examining Buffer Cache Activity via the Cache Hit


Ratio

Calculating the Cache Hit Ratio

When to Use Multiple Buffer Pools - KEEP,RECYCLE


and DEFAULT
Tuning redo generation
Unnecessary index Select for update
Update only the data of significance

Unnecessary commit

Global temp tables


External tables
Indexes: Overview
Using Indexes: Considering Nullable Columns

Guidelines for Managing Indexes

Identifying Index fragmentation

i
n
d
e
x
o
n
l
i
n
e

Monitoring Index Usage

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

Day 3:
Automatic Workload Repository - Overview
Automatic Workload Repository: Overview

AWR Features

Snapshots
Baselines
AWR Report
Automatic Database Diagnostic Monitor-Overview
Overview

ADDM Parameters
Recommendations
ADDM Report
SQL Tuning
The Oracle Optimizer

Cost-Based Optimization

About Optimizers in Oracle 11g

Automatic SQL Tuning in 11g

SQL Plan Management


o
o
o
o

SQL Plan Management: Overview


SQL Plan Baseline: Architecture
Evolving SQL Plan Baselines
SQL Plan Selection

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS


SQL Tuning Overview o Goals for Tuning

o Identifying High-Load SQL

o Developing Efficient SQL Statements Do's and Donts

Indexes and Clusters

o Understanding Index Performance


o Choosing Columns and Expressions to Index
o Choosing Composite Indexes
o Writing Statements That Use Indexes
o Writing Statements That Avoid Using Indexes
Indexes to be used for Performance

o Function-based Indexes
o Partitioned Indexes
o Index-Organized Tables o Bitmap Indexes
o Clusters
o Hash Clusters
Overview of Joins and Subqueries when to use
these
Day 4

The Query Optimizer


o Operations

o
C
h
o
o
s
i
n
g
a
n
O
p
t
i
m
i
z
e
r
G
o
a
l

Statement transformation Choice of optimizer goals

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

Choice of access paths


o Understanding Access Paths for the Query Optimizer
Full Table Scans Rowid Scans
Index Scans
Cluster Access
Hash Access
Sample Table Scans
How the Query Optimizer Chooses an Access
Path
o Understanding Joins
o How the Query Optimizer Executes Join Statements
How the Query Optimizer Chooses Execution Plans for Joins
Nested Loop Joins
Hash Joins
Sort Merge Joins Cartesian Joins Outer Joins
Using EXPLAIN PLAN

o Understanding EXPLAIN PLAN Overview


How Execution Plans Can Change
Optimizer Statistics

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

o Table statistics
Number of rows Number of blocks
Average row length o Column statistics
Number of distinct values (NDV) in column Number of nulls
in column
o Index statistics
Number of leaf blocks Levels
Clustering factor o System statistics
I/O performance and utilization
o Auto Statistics gathering ( How and When)
o Manual Statistics gathering ( How and When)
Using Optimizer Hints

o Understanding Optimizer Hints Types of Hints


Hints for Access Paths
Hints for Query Transformations
o Hints for Join Orders
Histogram
About Histograms

Extended statistics

Expression statistics

ORACLE 11G PERFORMANCE TUNING DAYWISE SYLLABUS

Adaptive Cursor Sharing


Effects of CURSOR_SHARING Parameter
************

Das könnte Ihnen auch gefallen