oracle troubleshooting waits for locks/Enqueues other than 'TM','TX' and 'UL'
Troubleshooting Waits for Locks / Enqueues Other than 'TM', 'TX' and 'UL' (文件 ID 1905157.1)
適用範圍:
7i以後的任何平臺,任何版本;
目的:
本章節的目的是當面對非普通鎖(TM\TX\UL)時我們如何處理;
注:enqueues分兩種,一種是普通鎖也可叫做User Type Locks (TM, TX and UL Enqueues),另一種是非普通鎖被定義為system enqueues
以下3種enqueue 型別被定義為users type locks
- TM - DML (Table Manipulation) Enqueue called against a base table or partition for various table / partition operations that need to be co-ordinated.
- TX - Transaction Enqueue used to protect transaction information.
- UL - User Lock Enqueue used when an application makes use of the DBMS_LOCK package.
如下是system enqueues的部分佇列相關的文件, 這裡並不是很全,但已經包含了大部分常見佇列;
1.DX Distributed Transaction Enqueue: 'enq: DX - contention'
這個DX enqueue是用來保護分散式事物,如果你有問題在在此佇列上爭用,檢視誰holding the dx lock 並檢視它等待什麼,使用這此資訊來定為潛在的爭用區域,導向一個問題原因;出現這個等待的時候,將顯示為 'enq: DX - contention' ,如下是目前已知的相關的問題點,我們可以參考:
Document
1275884.1 High CPU by Sessions Holding DX Enqueue; Others Waiting 'enq: DX -
contention'
Document 730423.1 Select With Local Function and Remote Tables Using a Dblink Hangs Due To Enq DX
Document 9773415.8 Bug 9773415 - GTX may deadlock with foreground on DX lock
Document 8477973.8 Bug 8477973 - Multiple open DB links / ORA-2020 / distributed deadlock / ORA-600 possible using DB Links
Document 730423.1 Select With Local Function and Remote Tables Using a Dblink Hangs Due To Enq DX
Document 9773415.8 Bug 9773415 - GTX may deadlock with foreground on DX lock
Document 8477973.8 Bug 8477973 - Multiple open DB links / ORA-2020 / distributed deadlock / ORA-600 possible using DB Links
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29446986/viewspace-1385045/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Troubleshooting 'enq: TX - index contention' WaitsENQIndexAI
- oracle的TM鎖、TX鎖Oracle
- 【MOS】 Troubleshooting waits for enq: TX - allocate ITL entry(1472175.1)AIENQ
- 【MOS】Troubleshooting 'enq: TX - index contention' Waits (文件 ID 873243.1)ENQIndexAI
- Oracle Enqueues Wait Events 三 enq: TX - row lock contentionOracleENQAI
- oracle的TM鎖、TX鎖知識完全普及Oracle
- Master Note: Locks, Enqueues and Deadlocks [ID 1392319.1]ASTENQ
- Buffer busy waits/read by other sessionAISession
- zt_Oracle enq: TX contention 和 enq: TM contention 等待事件OracleENQ事件
- Steve Adams的《Oracle8i internal services for waits, latches, locks》試譯OracleAI
- 對TM鎖和TX鎖的簡單理解
- 等待事件_buffer_busy_waits_and_read_by_other_session(1)事件AISession
- 等待事件_buffer_busy_waits_and_read_by_other_session(2)事件AISession
- 等待事件_buffer_busy_waits_and_read_by_other_session(3)事件AISession
- 等待事件_buffer_busy_waits_and_read_by_other_session(4)事件AISession
- ORA-14257: cannot move partition other than a Range or Hash partition
- Oracle Table LocksOracle
- 'enq: TX - index contention' Waits in a RAC Environment. [ID 873243.1]ENQIndexAI
- Oracle Enqueues Wait Events 二OracleENQAI
- Oracle Enqueues Wait Events 一OracleENQAI
- Oracle Enqueues Wait Events 三OracleENQAI
- Troubleshooting I/O-related waits [ID 223117.1]AI
- oracle enqueues 很全面的解釋OracleENQ
- ORACLE TX鎖Oracle
- Oracle Enqueue WaitsOracleENQAI
- buffer busy waits, latch cache buffers chains, read by other session區別AISession
- Oracle Free Buffer WaitsOracleAI
- Oracle Buffer Busy WaitsOracleAI
- 詳細瞭解INNODB_TRX、INNODB_LOCKs、INNODB_LOCK_waits、PROCESSLIST表AI
- oracle-tom-dmllock-tmOracle
- Oracle RAC Cache Fusion 系列十:Oracle RAC Enqueues And Lock Part 1OracleENQ
- oracle-tom-dmllock-txOracle
- zt_oracle troubleshooting案例Oracle
- Oracle TX鎖的處理Oracle
- Systematic Latch Contention Troubleshooting in OracleOracle
- PostgreSQL DBA(158) - Locks(tuple locks)SQL
- SQL SERVER恢復資料錯誤解決:The backup set holds a backup of a database other than the existingSQLServerDatabase
- Oracle 11g Enqueue Waits DescOracleENQAI