[20210527]enq RO - fast object reuse Final Blocker.txt
[20210527]enq RO - fast object reuse Final Blocker.txt
--//做一個enq RO - fast object reuse的等待事件的演示.一般出現這個主要是truncate drop物件,需要將髒塊寫盤.
In Wait Event: 'enq: RO - fast object reuse' and 'enq: KO - fast object checkpoint', CKPT is shown as
final_blocking_session when one DBWR is suspended.
1.環境:
SYS@book> @ver1
PORT_STRING VERSION BANNER
------------------------------ -------------- --------------------------------------------------------------------------------
x86_64/Linux 2.4.xx 11.2.0.4.0 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
SCOTT@book> @ tpt/bg DBW
NAME DESCRIPTION SID OPID SPID PADDR SADDR
----- ------------------------------ ---------- ---------- ------ ---------------- ----------------
DBW0 db writer process 0 141 10 36443 00000000880D5E58 0000000087540E48
DBW1 db writer process 1 155 11 36445 0000000087CD7658 0000000087547008
DBW2 db writer process 2 169 12 36447 00000000878D6108 000000008754D1C8
2.設定suspend:
--//使用kill -19.
$ echo 36443 36445 36447 | xargs -n1 kill -19
--//session 1:
SCOTT@book> truncate table tx;
--//session 2:
SYS@book> @ wc
WAIT_EVENT_TEXT CHAIN_ID CHAIN_SIGNATURE SID BSID FINAL_BSID PROGRAM SQL_ID CLIENT_INFO
------------------------------------ ---------- -------------------------------------------------------------- ---------- ---------- ---------- ------------------------------ ------------- --------------------
rdbms ipc message 1 'rdbms ipc message'<='enq: RO - fast object reuse' 197 oracle@xxxyyyy4 (CKPT)
enq: RO - fast object reuse 1 'rdbms ipc message'<='enq: RO - fast object reuse' 30 197 197 sqlplus@xxxyyyy4 (TNS V1-V3) 88431gbcnbvpk
WAIT_EVENT_TEXT SID BSID FINAL_BSID PROGRAM SQL_ID P1TEXT P1 P2TEXT P2 P3TEXT P3
------------------------------------ ---------- ---------- ---------- ------------------------------ ------------- -------------------- ---------- -------------------- ---------- -------------------- ----------
rdbms ipc message 197 oracle@xxxyyyy4 (CKPT) timeout 100 0 0
enq: RO - fast object reuse 30 197 197 sqlplus@xxxyyyy4 (TNS V1-V3) 88431gbcnbvpk name|mode 1380909062 2 65562 0 1
--//1380909062 = /2^16 %2^16 (Type | Mode) = 21071,6 = 0x524f0006
--//524f = RO 0006 表示模式6.
--//很奇怪最後的阻塞者sid=197.對應CKPT。
3.為什麼Final Blocker是CKPT呢?
In both above tests, CKPT is shown as final_blocking_session, but in reality, that is DBW1 suspended. The reason is
probably because Foreground process only communicates with CKPT, and has no direct IPC call of DB WRITER processes.
4.取消掛起:
$ echo 36443 36445 36447 | xargs -n1 kill -18
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2775053/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20210527]enq KO - fast object checkpoint Final Blocker.txtENQASTObjectBloC
- [20210527]關於v$wait_chain.txtAI
- 【PROFILE】PASSWORD_REUSE_TIME和PASSWORD_REUSE_MAX引數在Oracle不同版本中的差別Oracle
- 《仙境傳說RO》四週年:RO2.0如何實現全方位煥新?
- [20181212]關於truncate reuse storage.txt
- enq: TX - row lock contentionENQ
- [20210527]rman與undo表空間備份.txt
- fast-inAST
- RAC中的enq: TS等待ENQ
- final
- 修改手機的ro.debuggable配置
- Fast Car GameASTGAM
- fast-bevAST
- Oracle等待事件之enq: TM – contentionOracle事件ENQ
- oracle等待事件之enq: CF – contentionOracle事件ENQ
- 等待事件enq: TX - row lock contention事件ENQ
- [20220518]enq FU - contention等待事件.txtENQ事件
- JAVA finalJava
- EC-Final 2023 & CCPC Final 2023 遊記
- 【Fast R-CNN】Fast R-CNN (2015) 全文翻譯ASTCNN
- Fail-Fast in JavaAIASTJava
- Fail - Fast機制AIAST
- ASM Fast Mirror ResyncASMAST
- fast planner總結AST
- 故障排除 | enq:TX - index contention等待事件ENQIndex事件
- 奇異的enq: TX - row lock contentionENQ
- enq: TX - index contention基礎理論ENQIndex
- enq: TX - allocate ITL entry等待事件分析ENQ事件
- 2018 China Collegiate Programming Contest Final (CCPC-Final 2018)
- java中的Static、final、Static final各種用法Java
- final和finalize
- final:finalize:finally:
- JOI 2018 Final
- Reflective Journal Final
- final修飾和static final修飾的區別
- 關於enq: TX - allocate ITL entry等待事件ENQ事件
- 效能問題,AWR High Event enq: US - contentionENQ
- ES7 Object.keys,Object.values,Object.entriesObject