Professional Documents
Culture Documents
CPU
time
Possibly Scalable
needs SQL application
tuning
Wait
time
Use information
Remaster for other caches
enqueue LMON
resources Remaster recovers
1 cache GRD
resources
2
Build re-
SMON covery set
recovers Resource
the 3 claim
database Merge failed 4 Roll forward
redo threads recovery set
5
Recovery time
Full A G H
Database availability
Partial B F
2
1 2 3
None C D E
Elapsed time
Instance startup
Instance + Instance
crashes crash recovery opens
FAST_START_MTTR_TARGET
Instance
starts
Rolling
Instance forward
recovery ends
Instance
crashes first pass + lock claim
…
_FAST_START_INSTANCE_RECOVERY_TARGET
Instance
recovery
starts
gc buffer busy
Block arrival time
less than buffer pin time
Wait:
gc current block request 1
FGP
Direct send
2
SGA2
LGWR:
LGWR
Log sync
SGA1
Block transfer
LMS
Wait complete: 3
gc current block 2-way
Wait:
gc current block request
1 LMS 2
FGP Resource
Direct
Master
message
SGA2 3
LGWR
SGA1
LMS
Block transfer
Wait complete: 4
gc current block 3-way
Wait:
gc current block request
1 LMS
FGP Resource
Direct
Master
message
SGA2
2
SGA1
3
Grant message
Wait complete:
gc current grant 2-way
TX TM
US HW
TA SQ
Wait events
Index
enq: TX - index
contention block
Split in
gc buffer busy
progress
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
RAC01 RAC02
1…50000 50001…100000
RAC01 RAC02
Index Changes
Reads
SGA1 SGA2
Undo Undo
Additional
interconnect traffic
Wait events
enq: HW -
contention Heavy
gc current grant inserts
HWM
Heavy
inserts
New extent
RAC01 RAC02
Dirty
block
SGA1 SGA2
Table1 Table1
CKPT CKPT
Table2 Table2
2
3 4
Truncate Table1 Truncate Table2
Cross-instance call
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.
MMON 9:00 a.m.
In-memory
statistics
SGA (Instn)
Hot objects
ADDM
Instance LMS
contentions congestions
Top SQL