2026-03-12 20:23:15

This commit is contained in:
root committed 2026-03-12 21:23:47 +01:00
1 parent eab4b36eca
commit 93039b8489
3332 files changed
+699614

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
@@header
/*
Library Cache Pin/Lock Pile Up hangs the application
*/
SELECT s.inst_id
, s.SID
, kglpnmod "Mode"
, kglpnreq "Req"
, SPID "OS Process"
, s.program
FROM gv$session_wait w
, sys.x$kglpn p
, gv$session s
, gv$process o
WHERE p.kglpnuse = s.saddr
and p.inst_id = s.inst_id
AND p.kglpnhdl = w.p1raw
AND w.event LIKE '%library cache lock%'
and w.sid = s.sid
and w.inst_id = s.inst_id
and s.inst_id = o.inst_id
AND s.paddr=o.addr
;
@@footer