DBA_WAITERS
This view shows all the sessions waiting for a lock. It correlates a blocked transaction to the blocking one.
Fields
The most relevant view fields are as follows:
WAITING_SESSION
: The ID of the waiting sessionHOLDING_SESSION
: The ID of the session holding the lockLOCK_TYPE
: The type of lockMODE_HELD
: The locking mode heldMODE_REQUESTED
: The locking mode requested
See also
The
DBA_BLOCKERS
,V$LOCK
, andV$LOCKED_OBJECT
sections in this appendix