Introduction
Conventional Tuning vs. Wait-based
Tuning
Foundation: Resource Mapping
Methodology
5 Key Steps of Applying RMM
RMM Advantages
Conclusion
2
Who am I?
4
Conventional Tuning
5
Problems with Conventional Tuning
Tools
6
What Problems are you Trying to
Solve?
7
You know you are working on the
wrong thing when…
After spending an agonizing week tuning
Oracle buffers to minimize I/O
operations, management typically
rewards you with:
8
You know you have a visibility
problem when…
You measure database performance based
on:
9
Your role is sub-essential to the
business of your organization
when…
Your role in the rollout of a new
customer facing application results in:
10
You know you are accustomed to
measuring the wrong thing when…
You measure the commute time to work
based on:
11
Wait-based Performance Tuning
Example:
v$session_wait_history
13
DBA Success Stories using RMM
Resource
Wait-Event
Mapping DBFlash
Analysis
Methodology
15
Confio’s Resource Mapping
Methodology
• The principles of RMM can be illustrated by using the analogy that
data processing is like an assembly line. Data goes in one end, is
subject to a series of changes, and comes out the other end as a
finished product
• The assembly line (or SQL Statement) must be observed at the
lowest level where a unit of work is being performed (SQL View
Principle)
• Measurements are made with regard to time instead of counting
how often an event occurs (Time View Principle)
• All resources system-wide must be monitored to get a full view of
Counters
potential bottlenecks i.e. no blind spots (Full ViewCounters
Principle)
CPU 74% Blind Spot CPU 38% Blind Spot
Reads 1789327 Reads 4955
SQL 1 30 Minutes 4M 6M 4M
5R 50 A
17
RMM-compliant Performance
Tools
Oracle Tracing
• RMM compliant when wait events are traced
• Shows SQL level statistics (SQLView), all events
(FullView) and events by time (TimeView)
• Text-based, short-term technical reporting
• Primarily used for reactive tuning
18
Applying RMM for Business
Results
19
Step 1: Identify
21
Step 3: Quantify
How much is save in time/money if fixed?
Enabled by Full View and Time View principles
Soft dollar savings
• Data entry clerks
• DBA time spent in problem resolution
Hard dollar savings
• Reduce hardware upgrades
• Meet SLA’s avoiding penality
• Ensure business isn’t lost due to poor performing
or unavailable system
Quantifiable benefit of
Tuning a
specific statement
22
Step 4: Prioritize
23
Step 5: Assign
24
Resource Mapping Methodology
RMM
25
Silo Monitoring
IT Management
27
RMM Achieved Business Benefits
28
Example 1: Problem Observed
29
Observations using Resource
Mapping Methods
1: Identify accumulated Waits
2: Identify specific resources used
30
Results
Notice scale:
Library cache load lock no < 1400 secs max
longer observable
31
Results
32
Example 2: Performance Drain –
Identify the Source
No – SQL*Net Message
identified as source of
delay
2nd highest wait event
33
RMM Drill Down identifies source of
problem
Single application
generates all SQL*Net
Messages
App on same server as
Oracle!
Answer:
Misconfiguration – TCP/IP
used within server
Change to IPC, eliminate
NIC traffic and 30% of
wait time
34
Example 3: Scattered Reads
Situation: LINS06 database - Hourly profile identifies high
wait anomaly
3-10x higher than other periods – requires investigation
wait time
42,000 seconds
10:00-11:00
35
Drill Down to Key RMM Parameters
Notice scale:
> 6000 secs
Db file
scattered
reads
Db file
scattered reads
36
Conclusion
37
Thank you for coming
Matt Larson
Contact Information
• mattlarson@confio.com
• 303-938-8282 ext. 110
• Company website
www.confio.com
38