Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Library Cache wait -- Who is holding this latch
Hi
All
I
have a session which is waiting for Library Cache latch for 6 hours. How can I
find who is holding this latch.
This session is
executing a pl/sql script ( Not package ). Latch# 60 is library cache
latch.
<SPAN
class=696130415-15022002>
<SPAN
class=696130415-15022002>
Here is from
v$session_wait
<SPAN
class=696130415-15022002>
1
select * from v$session_wait 2* where sid=1005PROD>/Press
Enter to Continue ....
SID SEQ# EVENT P1TEXT ------- ----------- ------------------------------ -------------------------------------------------P1RAW P2TEXT P2 P2RAW---------------- ---------------------------------------------------------------- ----------- ------Wait Sec
inP3TEXTP3
STATE---------------------------------------------------------------- ----------- ---------------- ------ 1005 5987 latch free address@992507000001C0A5E228
number60
000000000000003Ctries0
00
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Brijesh
![]() |
![]() |