January 2012
Intermediate to advanced
542 pages
11h 28m
English
This view lists the locks held by the database.
The most relevant view fields are:
SID: An identifier for the session holding or acquiring the lockID1: Lock identifier #1 (depends on TYPE)ID2: Lock identifier #2 (depends on TYPE)TYPE: The type of lock; user locks can be TM (DML enqueue), TX (transaction enqueue), or UL (user supplied)LMODE: A lock mode in which the session holds the lock; values can be:NONENULL (NULL)ROW-S (SS)ROW-XSHARE (S)S/ROW-X (SSX)EXCLUSIVE (X)REQUEST: A lock mode in which the process request locks; values are the same as for the LMODE fieldCTIME: The time since current mode was grantedBLOCK: If the lock is blocking another lock the value is 1, otherwise the value is 0DBA_BLOCKERS, DBA_WAITERS, ...