LoadBalancing
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Determines whether the driver uses client load balancing in its attempts to connect to the database servers (primary and alternate). You can specify one or multiple alternate servers by setting the AlternateServers property.
Valid Values
true | false
Behavior
If
set to true, the driver uses client load balancing
and attempts to connect to the database servers (primary and alternate)
in random order. The driver randomly selects from the list of primary
and alternate servers which server to connect to first. If that
connection fails, the driver again randomly selects from this list
of servers until all servers in the list have been tried or a connection
is successfully established.
If set to false,
the driver does not use client load balancing and connects to each
server based on their sequential order (primary server first, then,
alternate servers in the order they are specified).
Default
false
Data Type
boolean