library cache lock 阻塞程式查詢
select
distinct
ses.ksusenum sid, ses.ksuseser serial#, ses.ksuudlna username,KSUSEMNM module,
ob.kglnaown obj_owner, ob.kglnaobj obj_name
,lk.kgllkcnt lck_cnt, lk.kgllkmod lock_mode, lk.kgllkreq lock_req
, w.state, w.event, w.wait_Time, w.seconds_in_Wait
from
x$kgllk lk, x$kglob ob,x$ksuse ses
, v$session_wait w
where lk.kgllkhdl in
(select kgllkhdl from x$kgllk where kgllkreq >0 )
and ob.kglhdadr = lk.kgllkhdl
and lk.kgllkuse = ses.addr
and w.sid = ses.indx
order by seconds_in_wait desc
/
SELECT sid,event, sql_text
FROM v$session, v$sqlarea
WHERE v$session.sql_address = v$sqlarea.address AND sid =&sid;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-772864/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- library cache pin和library cache lock(一)
- library cache pin和library cache lock (zt)
- library cache pin和library cache lock(二)
- library cache lock和library cache bin實驗_2.0
- Library Cache最佳化篇(一)降低library cache lock和library cache pin的方法
- latch:library cache lock等待事件事件
- [20240920]跟蹤library cache lock library cache pin使用gdb.txt
- [20240824]跟蹤library cache lock library cache pin使用gdb.txt
- Library Cache 診斷:Lock, Pin 以及 Load Lock (文件 ID 1548524.1)
- 【TUNE_ORACLE】等待事件之“library cache lock”Oracle事件
- 一次library cache lock 問題分析
- [20241105]跟蹤library cache lock library cache pin使用gdb(11g)2.txt
- [20241108]跟蹤library cache lock library cache pin使用gdb(11g)4.txt
- [20241108]跟蹤library cache lock library cache pin使用gdb(11g)3.txt
- 【ASM_ORACLE】Library Cache最佳化篇(二)Library cache load lock的概念和解決辦法ASMOracle
- 【ASK_ORACLE】Library cache pin 與 library load lock的關係和區別Oracle
- 徹底搞清楚library cache lock的成因和解決方法(轉)
- Oracle Library cacheOracle
- Oracle 11g 密碼延遲認證與 library cache lock 等待Oracle密碼
- [20240827]分析為什麼出現library cache lock等待事件2.txt事件
- [20240828]分析為什麼出現library cache lock等待事件5.txt事件
- library cache pin(轉)
- Oracle阻塞會話查詢Oracle會話
- 【等待事件】library cache pin事件
- SQLServer DML操作阻塞SELECT查詢SQLServer
- 【ASK_ORACLE】Library Cache概念篇(二)之Library Cache Pin的定義Oracle
- HighgoDB查詢慢SQL和阻塞SQLGoSQL
- [20190402]Library Cache mutex.txtMutex
- [20210507]dump library_cache.txt
- Oracle11g 密碼延遲認證導致library cache lock的情況分析Oracle密碼
- 故障:核心表業務高峰期授權導致library cache lock和mutex x競爭Mutex
- [20210507]分析library cache轉儲.txt
- 使用 strace 查詢 Emacs 啟動阻塞的原因Mac
- DBA手記(學習)-library cache pin
- [20210507]dump library_cache 2.txt
- 連結伺服器查詢導致的阻塞伺服器
- 批次錯誤使用者名稱與密碼導致業務使用者HANG住(library cache lock)密碼
- 【TUNE_ORACLE】等待事件之“library cache pins”Oracle事件
- [20210602]分析library cache轉儲 5.txt