enq: KO - fast object checkpoint 等待事件與 direct path read - 1
在Exadata系統上Oracle11g 資料庫中執行某個排程procedure Job_SP_DWR_AR_COLLECTION_WEEKLY_P 時,發現卡在某個SQL : 5jctyad1z1s6a 執行不下去,同時出現大量的 enq: KO - fast object checkpoint 等待事件 。
1. 查詢文件 enq: KO - fast object checkpoint
You see this event because object level checkpoint which happens when you run direct path reads on a segment (like with serial direct read full table scan or parallel execution full segment scans).
KO enqueue - fast object checkpoint means that your session has sent CKPT process a message with instruction to do object level checkpoint and is waiting for a reply.
CKPT in turn asks DBWR process to perform the checkpoint and may wait for response.
So you should check what the DBWR and CKPT processes are doing - whether they're stuck waiting for something (such controlfile enqueue) or doing IO or completely idle.
This you can do using v$session_wait or v$session_event...
You can run this:
select sid,program from v$session where program like '%CKPT%' or program like '%DBW%';
and then run
select sid,event,state,p1,p2,p3,seconds_in_wait from v$session_wait where sid in
(select sid from v$session where program like '%CKPT%' or program like '%DBW%');
----
fast object checkpoint can be disabled by setting
"_db_fast_obj_ckpt"=false".
What is the impact to parallel scans with this setting? Any other adverse impact from setting this parameter?
1. 查詢文件 enq: KO - fast object checkpoint
You see this event because object level checkpoint which happens when you run direct path reads on a segment (like with serial direct read full table scan or parallel execution full segment scans).
KO enqueue - fast object checkpoint means that your session has sent CKPT process a message with instruction to do object level checkpoint and is waiting for a reply.
CKPT in turn asks DBWR process to perform the checkpoint and may wait for response.
So you should check what the DBWR and CKPT processes are doing - whether they're stuck waiting for something (such controlfile enqueue) or doing IO or completely idle.
This you can do using v$session_wait or v$session_event...
You can run this:
select sid,program from v$session where program like '%CKPT%' or program like '%DBW%';
and then run
select sid,event,state,p1,p2,p3,seconds_in_wait from v$session_wait where sid in
(select sid from v$session where program like '%CKPT%' or program like '%DBW%');
----
fast object checkpoint can be disabled by setting
"_db_fast_obj_ckpt"=false".
What is the impact to parallel scans with this setting? Any other adverse impact from setting this parameter?
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1387115/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- enq: KO - fast object checkpoint 等待事件與 direct path read - 2ENQASTObject事件
- enq: KO - fast object checkpoint 等待事件與 direct path read - 3ENQASTObject事件
- enq: RO fast object reuse 和 enq: KO fast object checkpointENQASTObject
- 11.2使用KEEP池導致ENQ: KO - Fast Object Checkpoint等待ENQASTObject
- 針對enq: KO - fast object checkpoint的優化ENQASTObject優化
- direct path read/read temp等待事件事件
- [20210527]enq KO - fast object checkpoint Final Blocker.txtENQASTObjectBloC
- 【TUNE_ORACLE】等待事件之IO等待“direct path read”Oracle事件
- 記一次enq: RO - fast object reuse等待事件ENQASTObject事件
- Oracle常見等待事件之direct path read/writeOracle事件
- Oracle 11g direct path read 等待事件的理解Oracle事件
- 【效能調整】等待事件(六) direct path read&write事件
- direct path read/write等待的分析
- ORACLE等待事件:direct path writeOracle事件
- 11g direct path read 等待事件的實驗分析事件
- 11g direct path read 等待事件的初步探討事件
- 等待事件 direct path read 與11g中的非並行直接讀事件並行
- oracle等待事件2構造一個DB File Sequential Read等待事件和構造一個Direct Path ReadOracle事件
- Oracle11gR2後direct path read等待事件的改變Oracle事件
- 11g中direct path read事件等待很高的一個案例事件
- 解決direct path read 與 direct path write問題
- Oracle中的direct path read事件(轉)Oracle事件
- 【TUNE_ORACLE】等待事件之IO等待“direct path write”Oracle事件
- 【TUNE_ORACLE】等待事件之IO等待“direct path write temp”Oracle事件
- enq: RO - fast object reuseENQASTObject
- zt_direct path read temp等待如何解決_wait eventAI
- oracle等待事件3構造一個Direct Path write等待事件和構造一個Log File Sync等待事件Oracle事件
- 等待事件db file sequential read、db file scattered read和direct read的區別事件
- enq: WF - contention等待事件ENQ事件
- enq: CF - contention 等待事件ENQ事件
- enq: TS - contention 等待事件ENQ事件
- 一次direct path read 故障處理
- 等待事件之enq: HW - contention事件ENQ
- enq:TM-contention事件等待ENQ事件
- 消除 enq: DX - contention 等待事件ENQ事件
- Oracle direct path read相關隱含引數Oracle
- read by other session等待事件Session事件
- 等待事件:read by other session事件Session