Sie sind auf Seite 1von 1

Library Cache Pin Release document

find the p1raw value of the 'library cache pin', e.g.

select sid, event, p1raw from v$session_wait where event = 'library cache pin';

Identify which object is being waited for:

SELECT kglnaown "Owner", kglnaobj "Object" FROM x$kglob WHERE kglhdadr='value of


p1raw'

Kill the Library Cache pin

SELECT 'alter system kill session ''' || s.sid || ',' || s.serial# || ''';'
FROM x$kglpn p, v$session s
WHERE p.kglpnuse=s.saddr
AND kglpnhdl='value of p1raw'

Das könnte Ihnen auch gefallen