Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to get the SQL query of a blocking sid during a lock contention
Not sure what you meant by "instance". You can always find blockers
from v$lock where block = 1. Once you get the sid, you can do pretty
much anything that is based on sid.
If you are looking for what object is currently being locked, you can map v$lock.id1 to dba_objects.object_id when block = 1 and type = 'TM'. Received on Wed Jul 13 2005 - 16:59:54 CDT
![]() |
![]() |