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

Thread: Global enqueue

  1. #1
    Join Date
    May 2006
    Posts
    41

    Global enqueue

    Hi,

    A data block's role is shifted from Local to Gloabl when it's transferred from one instance to another instance,but I didn't understand why an local enqueue become Global enqueue in RAC.Can anyone explain with an example,what role Global enqueue is playing in RAC & why it's termed as "Global"? I read Oracle documentation,but I couldn't understand?

    Thanks..

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    If you need to modify a row an TX enqueue is placed correct? And if you modify a row then it needs to be locked globally no? If one instance is locking the row then it must be done globally.

  3. #3
    Join Date
    May 2006
    Posts
    41
    Hi Pando,

    As per your saying "If one instance is locking the row then it must be done globally" which means TX enqueue information for that row will be updated globally in all RAC instances Library cache. Is my understanding right? Can you please explain this with a scenario?

    Thanks a lot..

  4. #4
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    If I run from instance 1

    update x
    set y = 1
    where z = 1

    Obviously when you run the same statement from instance 2 your session will be blocked.

    So the enqueue is global no?

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