How SCAN Works in RAC? |

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • In this episode of daily DBA, I would like to present you with #SCAN listener concept inside #Oracle RAC and how it functions!
    How SCAN works inside Oracle RAC?
    0:00 Are we ready?
    0:38 DBA Challenge!
    12:34 DBA Challenge!
    Website: www.dbagenesis...
    Facebook: / dbagenesis
    Instagram: / dbagenesis
    Twitter: / dbagenesis

ความคิดเห็น • 146

  • @dbagenesis
    @dbagenesis  5 ปีที่แล้ว +3

    👏👏#dbaChallenge Winners 👏👏
    =============================
    First Place: @sandeep sindhu
    You get 100% discount on any one of our paid DBA Genesis video courses.
    Second Place: @Pushpendra Gaur and @Umesh Dhote
    You get 80% discount on any one of our paid DBA Genesis video courses.
    Third Place: @amandeep gera , @prathap reddy and @Naresh D
    You get 50% discount on any one of our paid DBA Genesis video courses.
    How to claim your prize:
    ===================
    Goto dbagenesis.com >> courses >> select the course you like and send email to support@dbagenesis.com

    • @sandeepsindhu346
      @sandeepsindhu346 5 ปีที่แล้ว +1

      Hurreh thank you so much sir🕺

    • @dbaraghav5670
      @dbaraghav5670 5 ปีที่แล้ว +2

      @@sandeepsindhu346 congratulations bro

    • @sandeepsindhu346
      @sandeepsindhu346 5 ปีที่แล้ว +1

      Mail sent sir

    • @rijulife1255
      @rijulife1255 4 ปีที่แล้ว +1

      in the database thre is MMON process which actually calculates the load on the database and save it to the service metrics and then the LREG process communicate the service metrics to the SCAN listener. using the service metric information , the SCAN listener decides which node has the less load.

    • @gangadhar0906
      @gangadhar0906 3 ปีที่แล้ว

      Good and superb explanation about scan

  • @iSlamAndSciences
    @iSlamAndSciences 4 ปีที่แล้ว +6

    i have no word for your talent explanation, Mr.Arun you are a great teacher

  • @prathapreddy9618
    @prathapreddy9618 5 ปีที่แล้ว +8

    the perfect, beautiful example for SCAN Thank you so much Arun, after this example, I get a clear idea about SCAN, as per my knowledge (searched in google) Load Balance Advisory is one whos is going to help the scan listener for load balancing

  • @ynavoy08
    @ynavoy08 4 ปีที่แล้ว +4

    wao Perfecto, muy bien explicado, yo quería encontrar una explicación sobre como SCAN funcionaba y gracias a Dios encontré este Canal. thank you very much DBA Genesis.

  • @AdityaSharma-dp2cc
    @AdityaSharma-dp2cc 5 ปีที่แล้ว +6

    On Oracle RAC environment Load Balancing is something which is critical for distribution of connections between the servers we have. Load Balancing Advisory (LBA) is one of the key components for SCAN listener to decide the best instance for the new incoming connection request.SCAN using details from LBA, identifies the load on each node in the setup and routes the request xyz to the node which has least load.

  • @nishanthajay
    @nishanthajay 5 ปีที่แล้ว +9

    One of the simply beautiful explanation of SCAN I've ever seen. Kudos Arun!

    • @dbagenesis
      @dbagenesis  5 ปีที่แล้ว +5

      We love it when our videos help DBAs across the globe!

  • @girishta
    @girishta 4 ปีที่แล้ว +1

    I always say our database administration is very much analogous/connected to most of our lives. And sir you have presented in such a way that, no one can forget this concept with the airport analogy taken. Awesome explanation. Story remains in mind forever :)

  • @umeshdhote1917
    @umeshdhote1917 5 ปีที่แล้ว +19

    (LBA) LOAD BALANCING ADVISOR- PMON of each node records and updates the load in LBA it's register in the given example

    • @aqsachappalwala4363
      @aqsachappalwala4363 2 ปีที่แล้ว +2

      Thanks friend.I have an interview and don't have time for challenge 🤭🤭

  • @good123g
    @good123g 3 ปีที่แล้ว +1

    you are doing an excellent service. God bless!

  • @5002Fahad
    @5002Fahad 5 ปีที่แล้ว +1

    The Best explanation of RAC SCAN LISTENER any day! Understood it much more better than before.
    Load Balancing Advisory (LBA) is the answer you are searching for. LBA helps SCAN LISTENER to balance load across the instances in Oracle RAC. Load Balancing Advisory(LBA) is intelligent enough to advice for connection load balancing based on data collected by PMON of all the instances. LBA is definitely mandatory for SCAN listener in Oracle RAC.

  • @jyothissvm
    @jyothissvm 4 ปีที่แล้ว +2

    what a beautiful explanation..no words !!!

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว

      Glad you liked it

  • @mukidkhan952
    @mukidkhan952 4 ปีที่แล้ว +1

    so beautiful example to explain rac scan ip

  • @saifk7621
    @saifk7621 4 ปีที่แล้ว +2

    Just wow... Awesome explanation from you.. Very simple with amazing example... I never understood so deeply from any video sir...

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว

      You are most welcome! Honoured to help you with the concept !!

  • @truthhurts9601
    @truthhurts9601 5 ปีที่แล้ว +1

    I feel that I had just hit the goldmine, new fan of DBA Genesis. Thank You.

    • @dbagenesis
      @dbagenesis  5 ปีที่แล้ว

      Most welcome buddy!

  • @mohanrambai
    @mohanrambai 4 ปีที่แล้ว +6

    I had given a Interview yesterday the interviewer asked me a question How SCAN works I gave a example similar to the one explained and I told that there is a Load Balancing Advisor (LBA) which has all the details of the load on each node and it routes the connection to the node with least load. It gets the information of the load from the PGA's/client connections to the node and the LBA is update by the PMON background Process.
    But the interviewer was of the opinion that I have cooked up some new story about scan IP's which he never heard about.

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว +2

      Hahahaaa... Happens!

  • @Anvi_Anshi
    @Anvi_Anshi 4 ปีที่แล้ว +2

    PMON registers with the listener when instance or DB starts .PMON process having/knowing all the load information of each instances of RAC .the Scan listeners will get the information from PMON process about the load of each instances

  • @nagarjunamekala3194
    @nagarjunamekala3194 5 ปีที่แล้ว +2

    Oracle Net Services provides connection load balancing for database connections. The listener uses the load balancing advisory for connection load balancing.

  • @sayantinibiswas4986
    @sayantinibiswas4986 2 ปีที่แล้ว +1

    LREG process which gets registered with the local listener has all the details of the load on each node which helps scan listeners to distribute the load equally.

  • @ramkumar-gt5xo
    @ramkumar-gt5xo 2 ปีที่แล้ว +1

    Nice easily understandable , thanks arun :)

  • @yousafmaq
    @yousafmaq 4 ปีที่แล้ว +1

    Very Good. Superb.

  • @devangmakwana3951
    @devangmakwana3951 5 ปีที่แล้ว +2

    Scan listener using details from LBA, identifies the load on each node in the setup and routes the request to node which has least load like node4.
    In this case it happened to be node2 with least load or no load and the request is addressed by local listener on this node which helps request to establish a session on instance on node2.

  • @samaraviteja
    @samaraviteja 5 ปีที่แล้ว +2

    That respected SCAN listener using details from LBA, identifies the load on each node in the setup and routes the request to node which has least load . PMON of each node updates details about each node in LBA .

  • @MohitSharma-gm2ot
    @MohitSharma-gm2ot 5 ปีที่แล้ว +1

    Mast😄👍👍👍 trick to understand

  • @redfire2236
    @redfire2236 3 ปีที่แล้ว

    Very good video and really simple! Especially for someone which is completely new to DBA knowledge.

  • @abhishekjadhav3669
    @abhishekjadhav3669 3 ปีที่แล้ว

    What a explanation sir ...hatts off ❤️🙏

  • @teklehaimanotatikilt1435
    @teklehaimanotatikilt1435 ปีที่แล้ว

    hi i follow your lectures they are very good i want to see your oracle rac tutorials

  • @yousafmaq
    @yousafmaq 4 ปีที่แล้ว +2

    SCAN Listener use details from LBA, identifies the load on each node in the setup and routes the request to node which has least load.

  • @siamanawaz706
    @siamanawaz706 5 ปีที่แล้ว +1

    SCAN listener will check for the least loaded instance. It will then redirect the connection request to the local listener on the node where the least loaded instance is running. Eventually the client will be given the address of the local listener to make the connection with the database instance.

  • @adityashetye9174
    @adityashetye9174 4 ปีที่แล้ว +1

    Great explained

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว

      Glad you liked it

  • @vishalmisri4722
    @vishalmisri4722 4 ปีที่แล้ว +1

    Beautiful explanation 👍

  • @BHARARHROYAL
    @BHARARHROYAL 3 ปีที่แล้ว +1

    Good explanation.

    • @dbagenesis
      @dbagenesis  3 ปีที่แล้ว

      Glad you liked it

  • @ajazkasar4979
    @ajazkasar4979 5 ปีที่แล้ว +1

    XYZ person in your example is local listener on each node who knows load/number of connections on the respective instances and provide these details to scan listener.

  • @sandeepreddy8282
    @sandeepreddy8282 5 ปีที่แล้ว +3

    LBA decides to which local listener the connection to be re-routed from scan listeners and PMON updates the load on each node in LBA.

  • @mitusetty8844
    @mitusetty8844 5 ปีที่แล้ว +2

    pmon process for each instances registers the database services with the default listerner on the local node. And with each scan listener which is specified by remote_listerner parameter.
    basically client queries the dns to resole the scan name ,
    and scan then selects the least loaded node
    Note : - the client then directly connects to the dedicated server process on the least loaded node

  • @venkateshpitta4898
    @venkateshpitta4898 3 ปีที่แล้ว

    It internally follows the round-robbin alogorithem for specifying load to connect to session which is having less sessions connected to

  • @karumbayiram9073
    @karumbayiram9073 5 ปีที่แล้ว +1

    Scan always re-route the connection to local listener.
    Decide to which local listener connection request to be re-routed.
    PMON of each node record and updates the load in LBA ( Load Balancing Advisor)

  • @diycampfish
    @diycampfish ปีที่แล้ว

    Those guys awesome.

  • @EShrAh-we3zk
    @EShrAh-we3zk ปีที่แล้ว

    In Oracle RAC, the Clusterware service stores information about the load balance in the Cluster Synchronization Services (CSS) daemon, which is responsible for synchronizing the cluster state across all nodes in the cluster.

  • @yousafmaq
    @yousafmaq 4 ปีที่แล้ว

    Server Side Load balancing:
    Scan Listeners connects to all instances with all listeners so that instances can spread their load balance advisories to all listeners. Listener uses the advisories to decide which instance should service client request. If listener know from advisories that its local instance is least loaded and should service client request then listener passes client request to local instance. If local instance is over loaded then listener can use TNS redirect to redirect client request to a less loaded instance means remote instance.

  • @dhruvakidsadda2529
    @dhruvakidsadda2529 2 ปีที่แล้ว +1

    Thanks for sharing this info i had always doubt, I knew Pmon register will load the balnce at server level. . but Above that how it Balance . .Now i got it DNS. . .thanks . .

    • @dbagenesis
      @dbagenesis  2 ปีที่แล้ว

      Thank you! keep watching!

  • @Eira.2010
    @Eira.2010 3 ปีที่แล้ว +1

    Your videos are great ..you 🔥

    • @dbagenesis
      @dbagenesis  3 ปีที่แล้ว

      Thank you so much 😀

  • @maaz9299
    @maaz9299 4 ปีที่แล้ว +1

    awesome bro

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว

      Glad you liked it

  • @srinivasaraov6343
    @srinivasaraov6343 5 ปีที่แล้ว +1

    PMON of each node records and updates the load in LBA and LBA decides to which local listener connection request to be re-routed. SCAN always re-routes connection request to local listeners.

  • @ishanmalik3483
    @ishanmalik3483 5 ปีที่แล้ว +1

    LBA (introduced in 11g) is a memory area basically under shared pool, as PMON provides the statics to LBA

    • @rpbhagato
      @rpbhagato 3 ปีที่แล้ว

      Any link please. I couldnt find anything in oracle docs.

  • @Dhikshi2024
    @Dhikshi2024 4 ปีที่แล้ว +1

    Thank u sir wow explanation

  • @bharathkumar-ds8cd
    @bharathkumar-ds8cd 5 ปีที่แล้ว +2

    REMOTE_LISTENER, LOAD BALANCE ADVISER and PMON.
    SQL> alter system set remote_listener='SCAN-name:port-number' scope=both

  • @avid2395
    @avid2395 5 ปีที่แล้ว +1

    LBA(Load balancing advisory) for check each node load & provide this node load detail to scan listener.

  • @arifansari42
    @arifansari42 5 ปีที่แล้ว +2

    Load balancing advisor LBA ( LBA updated by PMON background process from each nodes) #dba_challenge

  • @vishalkunden4318
    @vishalkunden4318 5 ปีที่แล้ว +1

    Hi arun what happen if password file is deleted from standby server? will there any impact sync with primary server?how will fix the issue?

    • @dbagenesis
      @dbagenesis  5 ปีที่แล้ว

      Picked up your question for future episodes, will be answering it soon!

  • @srinivasaraogudisa4580
    @srinivasaraogudisa4580 5 ปีที่แล้ว +1

    Load balancing advisor.PMON of each node update the load of the node to LBA

  • @aqeebjaveed3230
    @aqeebjaveed3230 5 ปีที่แล้ว +1

    Xyz is none another local listener of the instance node, db instances and services would be registered with remote listeners or scan listeners, hence with the help pmon of the instance its updates the records and load on it in LBA , once LBA knows the status of each node's ,scan listeners would divert the request in round roubin manner to least bother node through local listener of the node, hence establishes a session on instance which has least lode node.

  • @puishinfo
    @puishinfo 5 ปีที่แล้ว +1

    SCAN will use the Load balancing adviser and identifies load in each node in the cluster.

  • @muruganandamramasamy
    @muruganandamramasamy 5 ปีที่แล้ว +2

    Hi Arun, LBA update the information to scan listeners, this information shared from local listener to LBA.

  • @avradeepdutta767
    @avradeepdutta767 3 ปีที่แล้ว

    Suppose, if I have to set up a RAC with 4 nodes, how many SCAN IPs do I need?

  • @bhavaniprasad7567
    @bhavaniprasad7567 5 ปีที่แล้ว +1

    LBA ( load balance advisor) ..
    It will get least load node details with help of MDnS and pmon..

  • @praveennaandi
    @praveennaandi 4 ปีที่แล้ว +1

    Hi, Could you please give some information about VIP in RAC... Thanks..

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว +1

      Check episode 22 for VIP

    • @praveennaandi
      @praveennaandi 4 ปีที่แล้ว +1

      @@dbagenesissure...

  • @jaipalgaikwad618
    @jaipalgaikwad618 5 ปีที่แล้ว +2

    LBA load balance adviser pmon on each node update the LBA about the load

  • @AllHailAkemi
    @AllHailAkemi 4 ปีที่แล้ว +1

    He went from a Boeing 777 to an Airbus Beluga, nice.

  • @mrfitnesscoach978
    @mrfitnesscoach978 4 ปีที่แล้ว +1

    Genius indeed

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว

      Our entire DBA community is Genius! Let's help our fellow friends join this DBA community!

  • @mayanks6728
    @mayanks6728 4 ปีที่แล้ว

    If you could have explained litlle bit more about where VIP, Services, local listener and remote listener fits in above airport example , it would have been great

  • @subramaniann421
    @subramaniann421 5 ปีที่แล้ว +2

    Load balance adviser will collect load information from each node using local listener and keep in load balance adviser. Scan listener will communicate LBA and get the least load information and then it will establish the connection with that node through local listener

  • @habibmolla9696
    @habibmolla9696 5 ปีที่แล้ว +1

    I have one question , why only 3 scan !!! Why not 4 or 5 ????

    • @dbagenesis
      @dbagenesis  5 ปีที่แล้ว

      Why don't you google it up and let us all know if it is possible or not?

  • @vinny_vlogs4262
    @vinny_vlogs4262 5 ปีที่แล้ว +2

    This feature is called load balancing.

  • @chandrakantmore9850
    @chandrakantmore9850 5 ปีที่แล้ว +2

    LBA.. Many people already have answered .. :)

  • @shrkhd2013
    @shrkhd2013 ปีที่แล้ว

    Grid Load Balancing (GLB) Service

  • @vigneshchinna358
    @vigneshchinna358 5 ปีที่แล้ว +1

    Once again thank you so much..

  • @dineshgunwant8286
    @dineshgunwant8286 5 ปีที่แล้ว +2

    Load balance adviser.(LBA)

  • @elianekamaha6759
    @elianekamaha6759 4 ปีที่แล้ว

    Integration of Oracle Listener with Load Balancing Advisory.

  • @hellogaurav36
    @hellogaurav36 5 ปีที่แล้ว +2

    With the help of Load Balancer Advisory, Scan listener choose the node having less workload.
    As part of Fast Application Notification (FAN) event transmission features, Oracle 10g RAC uses Oracle Notification Services (ONS) to communicate the status of cluster resources to all participating node applications in the cluster. In Oracle 10gR2, FAN added a new event type, SERVICE_METRIC, whose event payload contains information about the relative workload of each node in the RAC cluster, and this information Load Balancing Advisory uses to determine how to route new connections throughout the clustered database’s instances.

  • @PKBIJ82
    @PKBIJ82 5 ปีที่แล้ว +1

    LBA is there. Load balance Advisory

  • @usmanelahi8931
    @usmanelahi8931 5 ปีที่แล้ว +1

    Oracle traffic director and windows load balancer

  • @lsrao7661
    @lsrao7661 5 ปีที่แล้ว +1

    LOAD BALANCING ADVISOR WITH THE HELP OF PMON COLLECT DETAILS PUSH TO CLIENT THEN CLIENT DECIDE IT.

  • @vidmayur
    @vidmayur 5 ปีที่แล้ว +1

    Hi Arun, great going and enjoying your daily DBA show .I wanted to know from you and other sr dba,,s personal experience what is one of the rarest of rare crisis situation a DBA can experience in real-time like site crash or anything that hardly any DBA sees in their entire career which most of the DBA,s are scared of or the situation is very challenging .

    • @dbagenesis
      @dbagenesis  5 ปีที่แล้ว

      Good one, I guess I would love to speak about one situation in upcoming episodes that all of you should know.

  • @hemanthpattu9991
    @hemanthpattu9991 2 ปีที่แล้ว

    services or server pool

  • @akshaykumar5388
    @akshaykumar5388 5 ปีที่แล้ว +1

    Load balance Advisory
    LBA
    And dns ki round Robin algo

  • @sumansahu5996
    @sumansahu5996 5 ปีที่แล้ว +2

    Load balancing advisory process

  • @PKBIJ82
    @PKBIJ82 5 ปีที่แล้ว +1

    And each node has its local listener also

  • @utubetanki
    @utubetanki 5 ปีที่แล้ว +1

    Remote listener init parameter

  • @girija1kp
    @girija1kp 5 ปีที่แล้ว

    How 3 disks for normal redundancy disk group is managing the heartbeat information from 15 node rac or 5 disks for high redundancy disk group is managing the same heartbeat among 15 node rac ... Please help @Arun..

    • @dbagenesis
      @dbagenesis  5 ปีที่แล้ว

      Get your RAC architecture right, you will have the answer. Its a wrong question you are asking!

    • @pradeeptp1141
      @pradeeptp1141 4 ปีที่แล้ว

      @@dbagenesisOLR is the right asnwer..?

    • @pankaj00771
      @pankaj00771 3 ปีที่แล้ว

      Normal =1, External=3 & High= 5

  • @PavanKumar-ft8eq
    @PavanKumar-ft8eq 4 ปีที่แล้ว +1

    LBA(Load Balance Advisor)

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว

      You are right buddy!

  • @suryakolla5017
    @suryakolla5017 5 ปีที่แล้ว +1

    Connection load balancing

  • @gehnasrisravan
    @gehnasrisravan 4 ปีที่แล้ว

    Tilt could be how to enter airport fly

  • @sandeepsindhu346
    @sandeepsindhu346 5 ปีที่แล้ว +4

    LBA sir

  • @satyapal1948
    @satyapal1948 3 ปีที่แล้ว

    Management DB Sir

  • @fernandofranco539
    @fernandofranco539 4 ปีที่แล้ว +1

    It Is Rac Scan IP method

    • @dbagenesis
      @dbagenesis  4 ปีที่แล้ว

      The answer is LBA (Load Balancing Advisory)

  • @georgetamajong
    @georgetamajong 3 ปีที่แล้ว

    Workload Management relies on the use of Services

  • @umashankar327
    @umashankar327 4 ปีที่แล้ว +1

    (LBA) LOAD BALANCING ADVISOR

  • @aramvijay
    @aramvijay 2 ปีที่แล้ว

    LBA ( advisor )

  • @dbaraghav5670
    @dbaraghav5670 5 ปีที่แล้ว +2

    Load Balancer

  • @amandeepgera4109
    @amandeepgera4109 5 ปีที่แล้ว +2

    LBA

  • @bananya-sharanya-reddy8881
    @bananya-sharanya-reddy8881 3 ปีที่แล้ว

    Ocr and olr

  • @gehnasrisravan
    @gehnasrisravan 4 ปีที่แล้ว

    VIP scan it's simple

  • @thirumurugan5959
    @thirumurugan5959 2 ปีที่แล้ว

    Scan IP it is..

  • @srikanthnerella59
    @srikanthnerella59 5 ปีที่แล้ว +1

    Hi Arun
    Node VIP will maintain the current Load on the Host

  • @sshitanshu
    @sshitanshu 5 ปีที่แล้ว +1

    Load balancer

  • @lionansari8904
    @lionansari8904 ปีที่แล้ว

    VIP ip

  • @gaurav100saxena
    @gaurav100saxena 4 ปีที่แล้ว

    pmon

  • @RameshKumar-dw9fs
    @RameshKumar-dw9fs 5 ปีที่แล้ว

    Vip - virtual ip address that knows load balance of each original ip address of each host.

  • @sandeepsindhu346
    @sandeepsindhu346 5 ปีที่แล้ว +3

    Load balancing advisor

  • @aqeebjaveed3230
    @aqeebjaveed3230 5 ปีที่แล้ว +2

    Xyz is none another local listener of the instance node, db instances and services would be registered with remote listeners or scan listeners, hence with the help pmon of the instance its updates the records and load on it in LBA , once LBA knows the status of each node's ,scan listeners would divert the request in round roubin manner to least bother node through local listener of the node, hence establishes a session on instance which has least lode node.