Oracle11gR2後direct path read等待事件的改變
The direct path read Oracle metric occurs during Direct Path operations when the data is asynchronously read from the database files into the PGA instead of into the SGA data buffer. Direct reads occur under these conditions:
When reading from the TEMP tablespace (a sort operation)
When reading a parallel full-table scan (parallel query factotum (slave) processes)
Reading a LOB segment
Note: The behavior. of direct path reads changed in Oracle 11g release 2. Before 11gr2, full table scan access path read all the blocks within a table (or a index fast full scan) into the buffer cache unless either the "_serial_direct_read" hidden parameter is set to "true" or the table/index has default parallelism set. In sum, in 11g release 2 and beyond, Oracle will automatically decide whether to use direct path reads (thereby bypassing he buffer cache) with full table scans.
The hidden parameter "_small_table_threshold" defines the number of blocks to consider a table as being "small". Any table having more than 5 times the number of blocks in "_small_table_threshold" (if you leave it at default value) will automatically use direct path reads for serial full table scans (FTS).
You see direct path read waits only when you are doing a parallel full-scan. Unplanned direct path reads commonly happen when you turn on parallelism on at the system or session level:
alter table xxx parallel degree 32;
By specifying a table or index with the parallel option, the SQL optimizer thinks that a parallel full scan will be cheaper than a index range scan. In these cases you will see lots of direct path reads.
When Oracle performs a parallel full-table scan, the database blocks are read directly into the program global area (PGA), bypassing the data buffer RAM:
Direct path reads are parallel full-table scans
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29119536/viewspace-1436704/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- direct path read/read temp等待事件事件
- 【TUNE_ORACLE】等待事件之IO等待“direct path read”Oracle事件
- Oracle 11g direct path read 等待事件的理解Oracle事件
- Oracle常見等待事件之direct path read/writeOracle事件
- direct path read/write等待的分析
- 11g direct path read 等待事件的實驗分析事件
- 11g direct path read 等待事件的初步探討事件
- 【效能調整】等待事件(六) direct path read&write事件
- ORACLE等待事件:direct path writeOracle事件
- enq: KO - fast object checkpoint 等待事件與 direct path read - 1ENQASTObject事件
- enq: KO - fast object checkpoint 等待事件與 direct path read - 2ENQASTObject事件
- enq: KO - fast object checkpoint 等待事件與 direct path read - 3ENQASTObject事件
- 11g中direct path read事件等待很高的一個案例事件
- Oracle中的direct path read事件(轉)Oracle事件
- oracle等待事件2構造一個DB File Sequential Read等待事件和構造一個Direct Path ReadOracle事件
- 等待事件 direct path read 與11g中的非並行直接讀事件並行
- 【TUNE_ORACLE】等待事件之IO等待“direct path write”Oracle事件
- 【TUNE_ORACLE】等待事件之IO等待“direct path write temp”Oracle事件
- 解決direct path read 與 direct path write問題
- zt_direct path read temp等待如何解決_wait eventAI
- 等待事件db file sequential read、db file scattered read和direct read的區別事件
- oracle等待事件3構造一個Direct Path write等待事件和構造一個Log File Sync等待事件Oracle事件
- 一次direct path read 故障處理
- direct path read wait event 的處理辦法AI
- Oracle direct path read相關隱含引數Oracle
- read by other session等待事件Session事件
- 等待事件:read by other session事件Session
- 【等待事件】read by other session事件Session
- read by other session 等待事件分析Session事件
- db file scattered read等待事件事件
- db file sequential read等待事件事件
- 【等待事件】db file sequential read事件
- 【等待事件】db file scattered read事件
- 關於等待事件"read by other session"事件Session
- read by other session等待事件模擬Session事件
- 【TUNE_ORACLE】等待事件之IO等待“read by other session”Oracle事件Session
- cell single block physical read等待事件BloC事件
- 詳解 db file sequential read 等待事件事件