DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Exclusive Locks

  1. #1
    Join Date
    Nov 2000
    Posts
    416
    There is bunch of ROW EXCLUSIVE lock happens in our PROD Database every seconds and then disppear and then show again for different tables when I monitor DB. Can you explain to me what is this lock exactly and is it dangerous or how usually we can fix it?
    An ounce of prevention is worth a pound of cure

  2. #2
    Join Date
    Feb 2001
    Posts
    389
    ROW SHARE MODE

    : Automatically acquired by SELECT...FOR UPDATE. While it is a shared lock, may be upgraded later to a ROW EXCLUSIVE lock.

    Conflicts with EXCLUSIVE and ACCESS EXCLUSIVE lock modes.

    ROW EXCLUSIVE MODE

    : Automatically acquired by UPDATE, DELETE, and INSERT statements.

    Conflicts with SHARE, SHARE ROW EXCLUSIVE, EXCLUSIVE and ACCESS EXCLUSIVE modes.

    So this is natural , but do check on transaction lock for contention for ITLs and wait for
    commit or rollback.

  3. #3
    Join Date
    Nov 2000
    Posts
    416
    how can I check on transaction lock for contention for ITLs ?
    An ounce of prevention is worth a pound of cure

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width