Skip to Content
Oracle Database 11gR2 Performance Tuning Cookbook
book

Oracle Database 11gR2 Performance Tuning Cookbook

by Ciro Fiorillo
January 2012
Intermediate to advanced
542 pages
11h 28m
English
Packt Publishing
Content preview from Oracle Database 11gR2 Performance Tuning Cookbook

V$ENQUEUE_LOCK

This view shows the locks owned by enqueue state objects.

Fields

The most relevant view fields are as follows:

  • ADDR: The address of the lock state object
  • KADDR: The address of the lock
  • SID: The identifier for the session holding or acquiring the lock
  • TYPE: The type of lock
  • ID1: Lock identifier #1 (depends on TYPE)
  • ID2: Lock identifier #2 (depends on TYPE)
  • LMODE: A lock mode in which the session holds the lock; values can be:
    • NONE
    • NULL (NULL)
    • ROW-S (SS)
    • ROW-X
    • SHARE (S)
    • S/ROW-X (SSX)
    • EXCLUSIVE (X)
  • REQUEST: A lock mode in which the process request locks; values are the same as for LMODE fields
  • CTIME: The time since the current mode was grant
  • BLOCK: Whether this lock is blocking another lock

See also

  • The V$LOCK, V$LOCKED_OBJECT, DBA_WAITERS, and DBA_BLOCKERS ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Database 11g Performance Tuning Recipes: A Problem-Solution Approach

Oracle Database 11g Performance Tuning Recipes: A Problem-Solution Approach

Sam R. Alapati, Darl Kuhn, Bill Padfield

Publisher Resources

ISBN: 9781849682602Other