查詢library cache lock的源頭
SELECT SID,USERNAME,TERMINAL,PROGRAM FROM V$SESSION
WHERE SADDR in
(SELECT KGLLKSES FROM X$KGLLK LOCK_A
WHERE KGLLKREQ = 0
AND EXISTS (SELECT LOCK_B.KGLLKHDL FROM X$KGLLK LOCK_B
WHERE KGLLKSES = 'saddr_from_v$session' /* BLOCKED SESSION */
AND LOCK_A.KGLLKHDL = LOCK_B.KGLLKHDL
AND KGLLKREQ > 0)
);
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11411056/viewspace-734333/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- library cache lock 阻塞程式查詢
- library cache lock\pin的查詢與處理
- Library Cache Pin 及 Library Cache Lock分析
- library cache lock和library cache pin理解
- library cache pin和library cache lock的診斷分析
- library cache pin 阻塞程式查詢
- 查詢Library Cache Pin等待原因
- LIBRARY CACHE LOCK 等待事件事件
- 定位Library Cache pin,Library Cache lock等待的解決方法
- 常用定位library cache lock的方法
- library cache lock和library cache pin區別總結
- oracle library cache之library cache lock_library cache pin wait event釋義OracleAI
- latch:library cache lock等待事件事件
- oracle異常:library cache lockOracle
- 短連線 引起的 library cache lock
- zt_如何平面解決library cache lock和library cache pin
- enq:Library cache lock/pin等待事件ENQ事件
- Library cache lock/pin詳解(轉)
- LIBRARY CACHE LOCK WAITS AND NO BLOCKER FOUNDAIBloC
- library cache pin/lock的解決辦法
- 尋找 library cache lock 等待事件的session事件Session
- 'library cache lock'等待事件的處理方法事件
- 深入理解shared pool共享池之library cache的library cache lock系列四
- RAC 環境Library Cache Lock的處理方法
- zt_如何使用event 10049分析定位library cache lock and library cache pin
- 一次library cache lock 問題分析
- 【TUNE_ORACLE】等待事件之“library cache lock”Oracle事件
- zt_library cache pin和lock等待分析
- oracle 10049 event之library cache lockOracle
- 俺也談談 library cache lock 等待事件事件
- Shared pool的library cache lock/pin及硬解析
- RAC環境Library Cache Lock的處理方法(zt)
- [20240824]跟蹤library cache lock library cache pin使用gdb.txt
- sql version count引發cursor:pin s wait x及library cache latch library cache lockSQLAI
- [20240920]跟蹤library cache lock library cache pin使用gdb.txt
- [Oracle]--Library cache lock 故障解決一例Oracle
- 0317Library Cache Pin/Lock Wait EventsAI
- Library cache pin/lock 在Oracle 10g的增強Oracle 10g