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'.
Correct, I am doing this already. But Oracle supports database instances, and these objects (tables) live in these instances. I'd like to group the locks on these objects by instance if I can.
tia Received on Thu Jul 14 2005 - 08:24:49 CDT
![]() |
![]() |