2026-03-12 20:23:15
This commit is contained in:
15
vg/cursor_pin_wait.sql
Normal file
15
vg/cursor_pin_wait.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
/*
|
||||
MOS Id [ID 786507.1] - How to Determine the Blocking Session for Event: 'cursor: pin S wait on X'
|
||||
|
||||
|
||||
*/
|
||||
|
||||
SELECT s.inst_id
|
||||
, s.sid
|
||||
, to_number(substr(to_char(rawtohex(p2raw)),1,8),'XXXXXXXX') Blocking_SID
|
||||
, s.username
|
||||
, s.event
|
||||
FROM gv$session s
|
||||
WHERE event = 'cursor: pin S wait on X';
|
||||
Reference in New Issue
Block a user