V$LIBCACHE_LOCKS displays information about the library cache locks and pins. Locks and pins are distinguished based on the value of the TYPE column.
| Column | Datatype | Description | 
|---|---|---|
| 
 
  | 
 
  | 
 
  | 
| 
 
  | 
 
  | 
 Address of the lock/pin  | 
| 
 
  | 
 
  | 
 User session holding this lock/pin  | 
| 
 
  | 
 
  | 
 Session holding this lock/pin  | 
| 
 
  | 
 
  | 
 Handle address for which the lock/pin is acquired  | 
| 
 
  | 
 
  | 
 If the type is  If the type is   | 
| 
 
  | 
 
  | 
 Reference count for this lock/pin  | 
| 
 
  | 
 
  | 
 Lock/pin mode held: 
  | 
| 
 
  | 
 
  | 
 Lock/pin mode requested: 
  | 
| 
 
  | 
 
  | 
 Kernel transaction savepoint number at the time the lock/pin was acquired  | 
| 
 
  | 
 
  | 
 The ID of the container to which the data pertains. Possible values include: 
  |