JDBC Driver for DB2

Build 24.0.9060

SwitchStrategy

This property allows you to specify a switching strategy to select a server from AlternateServers as the active server.

Possible Values

Sequence, Random, BestResponse, sequence

Data Type

string

Default Value

"sequence"

Remarks

There are three switching strategies available: Sequence: Always use the next server in AlternateServers as the active server. Random: Use a random server in AlternateServers as the active server. BestResponse: Always use the server with the shortest response time.

Specify SwitchStrategy:

SwitchStrategy=Random;

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060