
Table of Wait Events and Potential Causes
Table 10-1 links wait events to possible causes and gives an overview of the Oracle data
that could be most useful to review next.
Table 10-1 Wait Events and Potential Causes
Wait Event General Area Possible Causes Look for / Examine
buffer busy waits Buffer cache, DBWR
Depends on buffer
type. For example,
waits for an index
block may be caused
by a primary key that
is based on an
ascending sequence.
Examine V$SESSION
while the problem is
occurring to determine
the type of block in
contention.
free buffer waits
Buffer cache, DBWR,
I/O
Slow DBWR (possibly
due to I/O?)
Cache too small
Examine write time
using operating system
statistics. Check buffer
cache statistics for
evidence of too small
cache.
db file scattered read
I/O, SQL statement
tuning
Poorly tuned SQL
Slow I/O system
Investigate V$SQLAR
EA to see whether
there are SQL
statements performing
many disk reads.
Cross-check I/O
system
and V$FILESTAT for
poor read time.
db file sequential read
I/O, SQL statement
tuning
Poorly tuned SQL
Slow I/O system
Investigate V$SQLAR
EA to see whether
there are SQL
statements performing
many disk reads.
Cross-check I/O
system
and V$FILESTAT for
poor read time.
enqueue waits (waits
starting with enq:)
Locks
Depends on type of
enqueue
Look
at V$ENQUEUE_STA
T.
library cache latch
waits: library cache, lib
rary cache pin,
and library cache lock
Latch contention SQL parsing or sharing Check V$SQLAREA t
o see whether there are
SQL statements with a
relatively high number
of parse calls or a high
number of child
评论