Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Client based load balancing in 12 G

user5979544Jul 15 2015 — edited Jul 17 2015

We have a JDBC configuration against a scan address  with client load balancing enabled.

Example:

jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxxxxx.de)(PORT=xxxx))(CONNECT_DATA=(SERVICE_NAME=xxxxxx)))

From what I understand from  Diference between Client-Side and Server-Side Load BalancingIf you do not want to use server load balancing, you can bypass it by connecting to the service name that identifies a particular RAC node.


My question is, if you have a connection pool set up against this configuration and if the node the service name maps to goes down, what happens to the connection pool connections ?


Question 1) Does the scan address fail over the service name to the next available node, then the JDBC driver on the client has to drop all stale connections and reconnect to the next available node ? or is it all client agnostic to the node fail over and all old available connections in the pool are available for use ?



This post has been answered by Franky Weber Faust on Jul 15 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2015
Added on Jul 15 2015
3 comments
619 views