Load Balancing
- Last Updated: August 5, 2021
- 1 minute read
- DataDirect Connectors
- ODBC
- PostgreSQL 8.0
- Documentation
Attribute
LoadBalancing (LB)
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 Alternate Servers option.
Valid Values
0 | 1
Behavior
If set to 1 (Enabled), the driver uses client load
balancing and attempts to connect to the database servers (primary and alternate servers) in
random order.
If set to 0 (Disabled), 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).
Notes
- This option has no effect unless alternate servers are defined for the Alternate Servers connection option.
Default
0 (Disabled)