Failover Mode
- Last Updated: March 10, 2022
- 1 minute read
- DataDirect Connectors
- ODBC
- IBM Db2 8.0
- Documentation
Attribute
FailoverMode (FM)
Purpose
Specifies the type of failover method the driver uses.
The Alternate Servers option specifies one or multiple alternate servers for failover and is required for all failover methods.
Valid Values
0 | 1 | 2
Behavior
If set to 0 (Connection), the driver provides failover
protection for new connections only.
If set to 1 (Extended Connection), the driver provides
failover protection for new and lost connections, but not any work in progress.
If set to 2 (Select), the driver provides failover
protection for new and lost connections. In addition, it preserves the state of work
performed by the last Select statement executed.
Notes
- This connection option can affect performance.
Default
0 (Connection)