Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: RAC and load-balancing a connection pool

Re: RAC and load-balancing a connection pool

From: Ronald Rood <devnull_at_ronr.nl>
Date: Wed, 10 Mar 2004 21:16:10 +0100
Message-ID: <0001HW.BC75361A025B31F8F02845B0@news.individual.net>


On Wed, 10 Mar 2004 19:46:42 +0100, Thanh wrote (in message <386645ad.0403101046.67b11c_at_posting.google.com>):

> I posted this in comp.databases.oracle, but no response, so I figured
> I might try this newsgroup as well.  Thank you.
> 
> thnguyen99_at_yahoo.com (Thanh) wrote in message 
> news:<386645ad.0403050748.1768f95f_at_posting.google.com>...

>> Hi, all,
>> I'm having a problem with getting proper load-balancing on a RAC with
>> a JDBC connection pool. When the connection pool is created, all the
>> connections get routed to the least-loaded node, so when queries start
>> getting submitted, they all end up swamping the single node.
>> Unfortunately, that's what it's supposed to be doing, ie. the listener
>> load-balances properly because at the point of connection, the second
>> node is the least loaded. Is there a better way to get some balancing
>> at query-time versus at connect-time? Thanks in advance,
>>
>> thanh

Maybe here is client-side 'load balancing' a better option. In that case the connections are 'randomized'. You need oci/thick jdbc for this.

-- 
With kind regards,
Ronald
http://ronr.nl/unix-dba
Received on Wed Mar 10 2004 - 14:16:10 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US