@H_404_0@This event signifies that the user process is reading a buffer into the SGA buffer cache and is waiting for a physical I/O call to return. A sequential read is a single-block read. @H_404_0@Single block I/Os are usually the result of using indexes. Rarely,full table scan calls could get truncated to a single block call because of extent boundaries,or buffers present in the buffer cache. These waits would also show up as
db file sequential read
.
@H_404_0@Check the following V$SESSION_WAIT
parameter columns:
- @H_404_0@
P1
: The absolute file number - @H_404_0@
P2
: The block being read - @H_404_0@
P3
: The number of blocks (should be 1)
db
file
sequential
reads
on a large data warehouse that should be seeing mostly full table scans with parallel query.
@H_404_0@Figure 10-1 depicts the differences between the following wait events:
db
file
sequential
read
(single block read into one SGA buffer)db
file
scattered
read
(multiblock read into many discontinuous SGA buffers)direct
(single or multiblock read into the PGA,bypassing the SGA)
Figure 10-1 Scattered Read,Sequential Read,and Direct Path Read
单块I / O通常是使用索引的结果。 @H_404_0@全表扫描调用可能会因缓冲区高速缓存存在的范围边界或缓冲区而被截断的单块调用。 这些等待也将显示为db file sequential read。 @H_404_0@
@H_404_0@ @H_404_0@db file sequential read的优化方法: