Functional load balancing in oracle RAC

Hi all,
Could anyone suggest how to setup functional load balancing in oracle RAC? Will there be any performance improvement in doing so? I implemented server side load balancing and the performance of INSERT, UPDATE and DELETE are very poor. Will functional load balancing be of any use? Please tell me the steps of how to implement functional load balancing?
Regards,
Aravind
Edited by: Aravind K R on Jul 12, 2011 2:49 PM

Aravind K R wrote:
Hi all,
Could anyone sujjest how to setup functional load balancing in oracle RAC? Will there be any performance improvement in doing so? I implemented server side load balancing and the performance of INSERT, UPDATE and DELETE are very poor. Will functional load balancing be of any use? Please tell me the steps of how to implement functional load balancing?
Regards,
Aravind
Hi,
Load balancing will not necessary increase performance, it just distribute the load more evenly.
Is the DML statement only slow in specific instance?
To prove if there is problem with load balancing, have you tried connect to one instance and perform same DML statement? compare the result
Cheers

Similar Messages

  • Automatic load balance for oracle RAC

    Hi there,
    we have application, that use local oracle 9i database and every users use terminal application. That meaning, users do connect to hostname via terminal and invoke application.
    We want migrate to RAC with cluster composed with 2 nodes. On every node must be
    unique oracle_sid, but database is same on disk array.
    My question is how configure users terminal profile which be comensatory automatic load balance .
    Thanks

    Hi,
    This software simulates a real environment.
    It creates a schema with tables, sequence, index, functions, etc..
    Preferably in a client host it simulates several users (configurable) connecting to the database.
    Then the test is simulated like in the real environment.
    Check this:
    RAC speedup example
    This demo shows an example of RAC speedup
    http://apex.oracle.com/pls/apex/f?p=44785:24:1688430074669391::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:4946,2
    RAC scale example
    This demo shows an example of how a 2 node RAC database can scale in performance.
    http://apex.oracle.com/pls/apex/f?p=44785:24:1688430074669391::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:4945,2
    Regards,
    Levi Pereira

  • Load balancing in Oracle RAC 11g (11.1.0.6.0)

    Hi!
    One of our customers use load balancing, now all users get connected against node 2.
    --The configuration of load balancing will be correct I think, have worked before
    --How do I verify the load on each node ?
    --What can be wrong?
    --Need help, what to check?
    --tnsnames.ora looks like
    X.world =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = X)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = X)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = X.X.se)
    Regards
    T

    Hi,
    --The configuration of load balancing will be correct I think, have worked before
    --How do I verify the load on each node ?
    --What can be wrong?
    --Need help, what to check?
    Services
    Traditionally an Oracle database provided a single service and all users connected to the same service.
    A database will always have this default database service that is the database name.This service cannot be modified and will always allow you to connect to the database.
    Do not use the default database service, create at least one service.
    With Oracle Database 11g, a database can have many services (up to a maximum of 115 per database).
    The services hide the complexity of the cluster from the client by providing a single system image for managing work. Applications and mid-tier connection pools select a service by using the Service Name in their connection data.
    http://www.oracle.com/technetwork/database/clustering/overview/awmrac11g-133673.pdf
    http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/hafeats.htm
    Regards,
    Levi Pereira

  • Load balancing in 10g RAC

    why we need to have load balancing(client and server side load balancing) in 10g RAC environment

    853910 wrote:
    why we need to have load balancing(client and server side load balancing) in 10g RAC environmentIn simple words because you don't want just one node to be getting busy with all the workload coming up but you do want the work to be divided among all the nodes in teh cluster since the RAC is based on the principle of divide and rule .
    Aman....

  • How Load Balance works in RAC?

    Hi All,
    I have a 2-node 10gR2 RAC on RHEL4. One of our web based application is connecting to the RAC database. Today, while starting up the application, one of our node(node1) was down and all the connections from the app are connected to the DB using other node(node2). There were around 120 connection from application. Again, i brought back the node1 but still, the connections were on node2 and no connection on node1.
    My doubt is, how the load balancing works in RAC? is there limit like after some number of connections, it will load balance to other node?
    Thanks,
    Praveen.

    If all the connections go to node 2 cause node 1 is down, then, when node 1 comes back, those connections already established on node 2 will remain on node 2. There is no mechanism to migrate existing connections. However, over time, as more connections come in, they should go to node 1. Over time, the load should balance out. But, the only way to immediately rebalance would be to force existing connections to recycle their connection.
    If one node is capable of handling the load, I wouldn't worry about it....over time, things will balance out.
    -Mark

  • How to check the load balancing in Oracle 11gR2 2 node RAC

    Dear All,
    Can any one please assist me how to check whether the incoming connections are evenly distributing across the nodes..?
    We have two nodes, when we check the sessions counts in both nodes, Most of the time we could see node -1 has more no of sessions than node-2..? So just wanted to know whether load balancing is happening or not ...? If not how to enable it and distribute the incoming connections evenly..?
    Oracle 11gR2 / RHEL5

    SQL> select inst_id,count(*) from gv$session where username is not null group by inst_id;
    INST_ID COUNT(*)
    1 43
    2 40
    Not sure how to check the users are connecting through scan or not ..? But below are scan setttings...
    SQL> !srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1521
    SQL> !srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node za-rac-prd-02
    SCAN Listener LISTENER_SCAN2 is enabled
    SCAN listener LISTENER_SCAN2 is running on node za-rac-prd-01
    SCAN Listener LISTENER_SCAN3 is enabled
    SCAN listener LISTENER_SCAN3 is running on node za-rac-prd-01
    SQL> !srvctl config scan
    SCAN name: rac_prd.abc.local, Network: 1/10.100.130.0/255.255.255.192/eth6.64
    SCAN VIP name: scan1, IP: /rac_prd.abc.local/10.100.130.55
    SCAN VIP name: scan2, IP: /rac_prd.abc.local/10.100.130.54
    SCAN VIP name: scan3, IP: /rac_prd.abc.local/10.100.130.53
    SQL>

  • Enabling server-side load balancing with Oracle 10g RAC

    Hi, all.
    I created a RAC database on vmware by using DBCA.
    By default, remote_listener and tnsname.ora have been configured.
    The followings are part of dba_services from my RAC database.
    NAME, GOAL, ENABLED, CBL_GOAL
    SYS$BACKGROUND NONE NO SHORT
    SYS$USERS NONE NO SHORT
    DEVDB NO LONG
    By default(created by DBCA), server-side load balancing is enabled for
    the RAC database, DEVDB??
    --> GOAL of DEVDB is null, but CBL_GOAL IS LONG.
    After creating a RAC db by using "DBCA", do I need to do something
    for server-side load balancing??
    If so what I need to do?? How can I test it??
    And what is beneficial in enabling server-side loadbalancing ??
    Is it good in the real world??
    Thanks for reading.
    Best Regards.
    Message was edited by:
    user507290

    [urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
    [urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
    Virag

  • Load Balancer on Oracle Identity Manager 9.1.0.2

    Hello friends,
    I have configured an environment Oracle Identity Manager 9.1.0.2 on 2 nodes in Oracle WebLogic Server 11g.
    As I configured balancer Apache HTTP Server with Apache Proxy Plug-in, when loading the page through a web browser will not display the page of the web management console of Oracle Identity Manager.
    Here the result after entering the web address below: http://192.168.1.10/xlWebApp :
    (404 Not Found)
    Not Found
    The requested URL /xlWebApp was not found on this server.
    Apache/2.0.63 (Unix) DAV/2 Server at 192.168.1.10 Port 80
    Any suggestions for viewing the website of IDM through the load balancer Apache HTTP Server.
    Very grateful for the support

    httpd.conf is placed at /etc/httpd/httpd.conf, if you are using unix like systems. It's configuration file used by Apache http server. Paste its content to see what functions are configured.
    regards,
    GP

  • Load Balancing for Oracle Apps in linux

    Dear all,
    I need anykind of information for load balancing (how to do it - architecture) for oracle application in linux environment.
    Just for info, the database will be on linux too using RAC (3 machines). I have 4 machines to be use as application tier.
    any kind of information will be appriciated.
    You can also send it directly to my email account: [email protected] or [email protected]
    best regards,
    Yohan

    I'm in the middle of doing this right now. There is a doc on metalink (233428.1) that details the process. I would highly recommend trying this in dev/test env first. Even though the instructions are very straight forward and not very complicated, I'm still having configuration issues.
    Clint

  • Load balancing of DB RAC using weblogic server

    Hi All,
    I want to test the load balancing of Data base RAC for my application. I got the box which is installed RAC in it with two nodes. I configured the multidatasource which points to individual data sources to each node.
    Is this configuration is correct or not? to test the load balancing of the Database. I come to know that there is something called SCAN from oracle 11g but it is not supported 100% by web-logic server(we are using weblogic server 9.2MP3).
    How many requests I made all the requests are going to the Node1 only not even one is gone to the node2. Any specific reason.
    Thanks,
    Venkat.

    Another alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
    Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
    This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided.

  • Load Balancing with 10g RAC

    Hi,
    I have one query regarding balancing load with RAC.
    We have some batch processes executed from shell script in Oracle RAC environment where a separate node is used for failover only. There are some issues related with performance. We are looking for a solution to utilize 'idle' node used for failover to resolve this issue.
    I want to know whether the below mentioned scenario is possible to achieve with 10gRel2 RAC.
    A batch process is running and it is utilizing all resources (CPU) of instance 1, then it is possible by any means that this process be split and distributed to idle instance 2 on another node?
    Looking for expert advice.
    Regards
    Amit

    Hi Amit,
    I;ve done lots of RAC implementations, and it;s critical to set-up the primary node accordig to the "type" of table access. For example, cistomer queries on node 1, order queries on node 2, etc. Minimizing pinging is very important!
    Staring in Oracle 10g release 2, Oracle JDBC and ODP.NET provide connection pool load balancing facilities through integration with the new “load balancing advisory” tool. This replaces the more-cumbersome listener-based load balancing technique.
    I have more notes here:
    http://www.dba-oracle.com/oracle10g_tuning/t_grid_tuning.htm
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author

  • JDBC load balancing with non RAC replicated instances

    Hi,
    The thin JDBC load balancing feature only works with RAC clusters or it can be used with two non RAC replicated instances using the same service name?
    Thanks,
    Ezio.

    Thank you Douglas for your time.
    I assumed the first case (database connection load balancing). I thought that the listener would do the load balancing and failover trick. So, I configured the JDBC connection as follow:
    String MM_loadBalance1_DRIVER = "oracle.jdbc.driver.OracleDriver";
    String MM_loadBalance1_USERNAME = "scott";
    String MM_loadBalance1_PASSWORD = "tiger";
    String MM_loadBalance1_STRING = "jdbc:oracle:thin:@(DESCRIPTION=" +
    " (LOAD_BALANCE=on) (FAILOVER=on)"+
    " (ADDRESS_LIST="+
    " (ADDRESS=(PROTOCOL=TCP)(HOST=test1) (PORT=1521))"+
    " (ADDRESS=(PROTOCOL=TCP)(HOST=test2)(PORT=1521)))"+
    " (CONNECT_DATA=(SERVICE_NAME=test)))";
    Driver DriverRecordset1 = (Driver)Class.forName(MM_loadBalance1_DRIVER).newInstance();
    Connection ConnRecordset1 = DriverManager.getConnection(MM_loadBalance1_STRING,MM_loadBalance1_USERNAME,MM_loadBalance1_PASSWORD);
    But, when one of the instances was down (test1), the connection failed, it didn't failed over to the other instance (test2).
    So I wondered if it failed due to some misconfiguration issue or because it only works with RAC instances...

  • Load Balancing issue on RAC setup

    1. We have a Oracle RAC cluster having two node say node1-vip and node2-vip
    2. We have two client software (both uses weblogic as app server) say ANP and HDM
    3. We configure connect string for HDM by giving node1-vip as primary and node2-vip as secondary. Here is the connect string we provide
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=node1-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=node2-vip)(PORT=1521))(FAILOVER=on)(LOAD_BALANCE=off))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME= anpdb)))
    4. We configure connect string for ANP by giving node2-vip as primary and node1-vip as secondary. Here is the connect string we provide
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=node2-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=node1-vip)(PORT=1521))(FAILOVER=on)(LOAD_BALANCE=off))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME= anpdb)))
    We are observing that connection for HDM is only going to node1-vip however connection for ANP sometime goes to only node2-vip however sometime it is getting distributed between node1-vip and node2-vip. Whenever there is more connection on node1-vip than node2-vip then connection for ANP is only going to node2-vip however whenever number of connection at node2-vip is equal or greater than node-1 vip, connection for ANP gets distributed between node1-vip and node2-vip
    Thanks
    Sumit

    Hi,
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=node1-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=node2-vip)(PORT=1521))(FAILOVER=on)(LOAD_BALANCE=off))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME= anpdb)))
    Why have you put *(LOAD_BALANCE=off)* ?
    And from your post, you are not trying to use actual load balancing.
    You are trying to give connectivity like this HDM->node 1 and ANM->node 2
    In that case you need tp specify only one server vip address.
    When you configure the connection entries like above, when a new user session connection is requested, listener will connect the user to whichever address is reachable at that time.
    Hope you got my point...
    Regards,
    Mahesh.

  • Load Balancing for Oracle Release 11i

    Hi there,
    I am trying to find some recommendations on the need for load balancing in the middle tier for a 3 tier Oracle Release 11i implementation. Here are the questions that I have.
    1. Is load balancing very common for a 11i implementation ?
    2. What are the probable issues that one might encounter if there is no load balancing ?
    3. If there is load balancing how many servers are generally used for the same ?
    4. Do we only install Forms server on multiple servers or we install WebDB and Apache on all the servers ?
    5. Is it true that Web servers are the most likely to be down and thus mandating the use of load balancing ? If that is true, would it be prudent to install Web Server and Form Server on each server m/c and in the process having redundant servers ?
    Let me know your thoughts.
    Thanks,
    - Raj

    I'm in the middle of doing this right now. There is a doc on metalink (233428.1) that details the process. I would highly recommend trying this in dev/test env first. Even though the instructions are very straight forward and not very complicated, I'm still having configuration issues.
    Clint

  • Load balancing in Oracle Reports 6 +

    I had a document a while that outlined the basic (manual really) load balancing capabilities of reports server. I can't find the document on technet. Can someone direct me to the right place?
    Thanks!
    peter

    A couple places:
    1. An overview available in the "Advanced tips and techniques with Oracle Reports Server" whitepaper
    2. Technical information now folded into the "Publishing Reports" manual - chapter 6 - with Reports 6i.
    Regards
    The Oracle Reports Team http://technet.oracle.com
    null

Maybe you are looking for

  • Creation of Automatic PO

    Dear All, please let me know the detailed process for CREATION OF AUTOMATIC PO ?? Regards, SAI

  • What is the best model laptop that 9.2.2 can start up on?

    I'm looking to buy an old laptop that starts up Classic 9.2.2 like the iMac G3 does and can also run a version of OS X (at least 10.3.9). Would those be Powerbooks or iBooks or both? What is the fastest model I should look for?

  • Server 2008 R2 and Windows 7. User share shows My Documents instead of use name.

    Windows Server 2008 R2 This didn't startseeing this issue until we started using Windows 7 in our environment. There is a share with all the users folders in them. Because Windows 7 writes a desktop.ini file in each folder, the folders appear to be M

  • Mac OS X 10.5.6 Install on PowerBook G4 1.67ghz 512MB

    I just purchased Mac OS X 10.5.6 Leopard to upgrade my PowerBook G4 which until now has been running 10.4.11 Tiger with no problems. When I completed the Leopard install, everything worked. I then upgraded to Leopard 10.5.8 and when I tried to log on

  • Podcast not updating

    Hello, For some reason yesterday the podcast I added never showed up: https://itunes.apple.com/us/podcast/team-beachbody-coach-podcast/id455078215 This is updated weekly every Monday but yesterday's Podcast never showed up. Here is the xml used: <ite