library cache pin 阻塞程式查詢
--
select
distinct
ses.ksusenum sid, ses.ksuseser serial#, ses.ksuudlna username,ses.ksuseunm machine,
ob.kglnaown obj_owner, ob.kglnaobj obj_name
,pn.kglpncnt pin_cnt, pn.kglpnmod pin_mode, pn.kglpnreq pin_req
, w.state, w.event, w.wait_Time, w.seconds_in_Wait
-- lk.kglnaobj, lk.user_name, lk.kgllksnm,
--,lk.kgllkhdl,lk.kglhdpar
--,trim(lk.kgllkcnt) lock_cnt, lk.kgllkmod lock_mode, lk.kgllkreq lock_req,
--,lk.kgllkpns, lk.kgllkpnc,pn.kglpnhdl
from
x$kglpn pn, x$kglob ob,x$ksuse ses
, v$session_wait w
where pn.kglpnhdl in
(select kglpnhdl from x$kglpn where kglpnreq >0 )
and ob.kglhdadr = pn.kglpnhdl
and pn.kglpnuse = 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-772863/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- library cache lock 阻塞程式查詢
- 查詢Library Cache Pin等待原因
- library cache lock\pin的查詢與處理
- Library Cache Pin 及 Library Cache Lock分析
- library cache lock和library cache pin理解
- 【等待事件】library cache pin事件
- 等待事件--library cache pin事件
- library cache pin等待分析
- library cache pin 等待事件事件
- library cache pin和library cache lock的診斷分析
- library cache lock和library cache pin區別總結
- oracle library cache之library cache lock_library cache pin wait event釋義OracleAI
- 定位Library Cache pin,Library Cache lock等待的解決方法
- 解決library cache pin等待事件事件
- enq:Library cache lock/pin等待事件ENQ事件
- Library cache lock/pin詳解(轉)
- zt_如何平面解決library cache lock和library cache pin
- 查詢library cache lock的源頭
- DBA手記(學習)-library cache pin
- library cache pin等待事件的模擬事件
- 分析解決因”library cache pin”等待
- 【ASK_ORACLE】Library Cache概念篇(二)之Library Cache Pin的定義Oracle
- 模擬cache buffers chains與library cache pin等待事件AI事件
- library cache pin/lock的解決辦法
- zt_library cache pin和lock等待分析
- zt_如何使用event 10049分析定位library cache lock and library cache pin
- 深入理解shared pool共享池之library cache的library cache pin系列三
- [20240824]跟蹤library cache lock library cache pin使用gdb.txt
- 記一次library cache pin事件解決事件
- Library cache pin問題的處理過程
- 0317Library Cache Pin/Lock Wait EventsAI
- sql version count引發cursor:pin s wait x及library cache latch library cache lockSQLAI
- [20240920]跟蹤library cache lock library cache pin使用gdb.txt
- oracle11g之v$libcache_locks處理library cache lock及library cache pinOracle
- Shared pool的library cache lock/pin及硬解析
- library cache lock和cursor: pin S wait on X等待AI
- SQL*Net more data from dblink引起library cache pinSQL
- row lock contention 阻塞程式查詢