事件:db file scattered read
This event signifies that the user process is reading buffers into the SGA buffer cache and is waiting for a physical I/O call to return. A db file scattered read issues a scattered read to read the data into multiple discontinuous memory locations. A scattered read is usually a multiblock read. It can occur for a fast full scan (of an index) in addition to a full table scan.
The db file scattered read wait event identifies that a full scan is occurring. When performing a full scan into the buffer cache, the blocks read are read into memory locations that are not physically adjacent to each other. Such reads are called scattered read calls, because the blocks are scattered throughout memory. This is why the corresponding wait event is called 'db file scattered read'. multiblock (up to DB_FILE_MULTIBLOCK_READ_COUNT blocks) reads due to full scans into the buffer cache show up as waits for 'db file scattered read'.
Check the following V$SESSION_WAIT parameter columns:
-
P1 - The absolute file number
-
P2 - The block being read
-
P3 - The number of blocks (should be greater than 1)
由引數P1與P2推得訪問的資料物件:
select s.segment_name, s.partition_name
from dba_extents s
where
Finding the SQL Statement executed by Sessions Waiting for I/O
Use the following query to determine, at a point in time, which sessions are waiting for I/O:
SELECT SQL_ADDRESS, SQL_HASH_VALUE FROM V$SESSION WHERE EVENT LIKE 'db file%read';
Finding the Object Requiring I/O
To determine the possible causes, first query V$SESSION to identify the value of ROW_WAIT_OBJ# when the session waits for db file scattered read. For example:
SELECT row_wait_obj# FROM V$SESSION WHERE EVENT = 'db file scattered read';
To identify the object and object type contended for, query DBA_OBJECTS using the value for ROW_WAIT_OBJ# that is returned from V$SESSION. For example:
SELECT owner, object_name, subobject_name, object_type
FROM DBA_OBJECTS
WHERE data_object_id = &row_wait_obj;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/195110/viewspace-679316/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- db file scattered read等待事件事件
- 【等待事件】db file scattered read事件
- db file scattered read與事件db file sequential read相類似(轉)事件
- 等待事件db file sequential read、db file scattered read和direct read的區別事件
- Oracle:db file scattered readOracle
- 非空閒的等待事件-db file scattered read事件
- 解決db file sequential read與db file scattered read
- 非空閒等待事件之:db file scattered read(轉)事件
- 【TUNE_ORACLE】等待事件之IO等待“db file scattered read”Oracle事件
- 等待事件--db file scattered reads事件
- tatspack之十二-db file scattered read-DB檔案分散讀取
- db file sequential read等待事件事件
- 【等待事件】db file sequential read事件
- 找出導致db file scattered read等待事件發生的SQL及其執行計劃事件SQL
- db file sequential read事件的發生事件
- 詳解 db file sequential read 等待事件事件
- oracle等待事件1分別用表和索引上資料的訪問來產生db file scattered read等待事件Oracle事件索引
- 0322理解db file parallel read等待事件2Parallel事件
- 0316理解db file parallel read等待事件Parallel事件
- oracle之 db file sequential read等待事件優化思想Oracle事件優化
- 何時會發生db file sequential read等待事件?事件
- db file sequential read wait event等待事件之二AI事件
- 【TUNE_ORACLE】等待事件之IO等待“db file sequential read”Oracle事件
- db file sequential read 詳解
- 【kingsql分享】何時出現生db file sequential read等待事件SQL事件
- db file sequential read及優化優化
- oracle等待事件2構造一個DB File Sequential Read等待事件和構造一個Direct Path ReadOracle事件
- data file int write和db file sequential read個人想法
- High Waits on 'Db File Sequential Read'AI
- Waiting Too Frequently for 'db file sequential read'AI
- oracle wait event之db file sequential readOracleAI
- 消除11.2上的db file parallel readParallel
- [20210315]理解db file parallel read等待事件3.txtParallel事件
- [20210315]理解db file parallel read等待事件4.txtParallel事件
- 等待事件--db file sequential reads事件
- control file sequential read等待事件事件
- DB_FILE_MULTIBLOCK_READ_COUNT的設定BloC
- Oracle中db_file_multiblock_read_count引數探究OracleBloC