Académique Documents
Professionnel Documents
Culture Documents
Objectives
6-2
CPU
time
Possibly
needs SQL
tuning
Scalable
application
Scalable
application
Needs
instance/RAC
tuning
Wait
time
6-3
No gain achieved
by adding
CPUs/nodes
RAC-Specific Tuning
Certain combinations
are characteristic of
well-known tuning cases.
Remaster
enqueue
resources
1
Use information
for other caches
Remaster
cache
resources
LMS
recovers
GRD
SMON
recovers
the
database
Build
recovery set
Resource
claim
3
Merge failed
redo threads
Roll forward
recovery set
5
Recovery time
6-5
Database availability
Full
G
5
Partial
F
2
4
1
None
2
D
3
E
Elapsed time
6-7
Instance
crashes
Instance
starts
FAST_START_MTTR_TARGET
Instance
recovery
Instance
opens
Instance
crashes first pass + lock claim
Rolling
forward
ends
FAST_START_MTTR_TARGET
Instance
recovery
starts
6-8
V$INSTANCE_RECOVERY.ESTD_CLUSTER_AVAILABLE_TIME
6-9
6 - 10
Lower
Bound
Typical
Upper
Bound
0.1
10
0.3
12
0.1
23
0.3
30
6 - 11
6 - 12
V$SYSTEM_EVENT
V$SESSION_WAIT_CLASS
V$SESSION_EVENT
V$SESSION_WAIT_HISTORY
V$SESSION_WAIT
V$ACTIVE_SESSION_HISTORY
V$SQLSTATS
gc [current/cr] [2/3]-way
gc [current/cr] [failure/retry]
Direct send
SGA2
2
LGWR
SGA1
Block transfer
Wait complete:
gc current block 2-way
6 - 16
LMS
LGWR:
Log sync
Direct
message
LMS
Resource
Master
SGA2
3
LGWR
SGA1
Block transfer
Wait complete:
gc current block 3-way
6 - 17
LMS
Direct
message
LMS
Resource
Master
SGA2
2
SGA1
Grant message
Wait complete:
gc current grant 2-way
6 - 18
TM
US
HW
TA
SQ
6 - 19
6 - 20
6 - 21
Index
block
enq: TX - index
contention
Split in
progress
gc buffer busy
gc current block
busy
gc current split
System statistics
Leaf node splits
Branch node splits
Exchange deadlocks
gcs refuse xid
gcs ast xid
Service ITL waits
6 - 23
RAC01
RAC02
150000
50001100000
RAC01
6 - 24
Changes
Reads
Index
SGA1
SGA2
Undo
Undo
Additional
interconnect traffic
6 - 25
Heavy
inserts
gc current grant
HWM
Heavy
inserts
New extent
RAC01
6 - 26
RAC02
Copyright 2007, Oracle. All rights reserved.
Dirty
block
SGA1
SGA2
Table1
Table1
Table2
CKPT
CKPT
Table2
1
2
3
Truncate Table1
Truncate Table2
Cross-instance call
6 - 27
Database
6 - 28
6 - 29
6 - 30
6 - 31
6 - 32
6 - 33
6 - 34
Block
Class
Segment
name
Segment
name
6 - 35
6 - 36
6 - 37
6 - 38
6 - 39
MMON Coordinator
In-memory
statistics
SYSAUX
SGA (Inst1)
AWR tables
6:00 a.m.
9:00 a.m.
7:00 a.m.
8:00 a.m.
In-memory
statistics
MMON
9:00 a.m.
SGA (Instn)
6 - 40
6 - 41
Self-diagnostic engine
Instance ADDM
AWR
Inst1
6 - 43
Instn
6 - 45
6 - 46
Summary
6 - 47
Practice 6: Overview
6 - 48