ursor_sharing=SIMILAR 引發大量的 cursor: mutex S
---------- ---------------------------------------------------------------- ----------- ---------------- --------------- ----------
1 cursor: mutex S 8196 574159937294 113469206148 1
1 DB CPU 8196 264925348737 94172222209 2
1 library cache lock 8196 377415652600 58003457267 3
1 direct path read 8196 16531321401 4584378285 4
1 db file sequential read 8196 2798779765 1387124732 5
預設一小時的AWR event
可以看到基本處於崩潰的邊緣,其原因MOS解釋如下:
GOAL
Customer upgraded the DB Repository for Oracle Waveset from Oracle 10g to Oracle 11g.
Cursor sharing was set to SIMILAR as per the Oracle Waveset Documentation in 10g.
Child cursors were getting released in 10g. Customer noticed child cursors were not getting released in 11g.
As per the documentation in MOS 1169017.1 cursor sharing should be exact or force.
SOLUTION
The recommendation to set the 'cursor_sharing' option as 'SIMILAR' was to remedy the known issues when 'cursor_sharing' was set to be the default 'EXACT' option in previous versions of Oracle Waveset and Oracle 10g as repository.
Since the Oracle 11g database deprecates the 'SIMILAR' option, the recommendation now is to set 'cursor_sharing' to 'FORCE'.
REFERENCES
- RECOMMENDATION FOR CURSOR_SHARING PARAMETER WITH ORACLE 11G REPOSITORY記錄一下
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7728585/viewspace-1587103/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Cursor Mutex S Waits等待事件引發hangMutexAI事件
- cursor: mutex S等待事件Mutex事件
- oracle 12.2資料庫引數_cursor_obsolete_threshold導致大量等待事件cursor: mutex XOracle資料庫事件Mutex
- 有關引數cursor_sharing=similar的測試MILA
- 'cursor:mutex ..'/ 'cursor:pin ..'/ 'library cache:mutex ..'型別的等待事件Mutex型別事件
- CURSOR_SHARING=SIMILARMILA
- 11g parallel_instance_group 'cursor: mutex S'ParallelMutex
- Oracle:cursor:mutex XOracleMutex
- 關於 cursor_sharing = similarMILA
- cursor_sharing=similar深度剖析MILA
- cursor_sharing : exact , force , similarMILA
- 關於cursor_sharing=similarMILA
- 關於cursor_sharing = similar(ZT)MILA
- ANNOUNCEMENT: Deprecating the cursor_sharing = ‘SIMILAR’MILA
- 關於cursor_sharing = similar (zt)MILA
- cursor_sharing = similar , exact 區別MILA
- cursor_sharing設定為similar 的弊端MILA
- 【故障】cursor: pin S wait on X等待事件大量出現AI事件
- cursor_sharing=similar 與 直方圖MILA直方圖
- library cache: mutex X引發的故障Mutex
- Cursor_sharing=SIMILAR取值與直方圖(上)MILA直方圖
- Cursor_sharing=SIMILAR取值與直方圖(下)MILA直方圖
- oracle實驗記錄 (cursor_sharing(2)SIMILAR)OracleMILA
- [20140802]cursor_sharing=similar.txtMILA
- cursor: pin S 等待事件事件
- sql version count引發cursor:pin s wait x及library cache latch library cache lockSQLAI
- Oracle 11g 中 cursor_sharing 設定為SIMILAR 導致的問題OracleMILA
- cursor pin S wait on XAI
- cursor: pin S wait on XAI
- cursor:pin S wait on XAI
- Oracle 的 cursor_sharing引數Oracle
- 系統出現cursor: mutex X等待導致例項HANG死Mutex
- 子游標過多導致大量mutex爭用故障分析Mutex
- 學習Oracle核心(cursor: pin S)Oracle
- Cursor pin S wait on X 事件AI事件
- 查詢gv$session引發大量的PX Deq Credit: send blkd事件Session事件
- oracle引數-cursor_sharingOracle
- cursor: pin S wait on X模擬AI