Failover properties
- Last Updated: November 2, 2018
- 1 minute read
- DataDirect Connectors
- JDBC
- Oracle Database 6.0
- Documentation
The following table summarizes the connection properties that control how failover works with the driver.
See "Using failover" and "Using client load balancing" for overviews of failover and client load balancing.
| Property | Characteristic |
|---|---|
One or multiple alternate database servers. An IP address or server
name identifying each server is required. Port number and the ServiceName or SID
connection properties are optional. If the port number is unspecified, the port
specified for the primary server is used. If a port number is not specified for the
primary server, the default port number of 1521 is used. |
|
| Number of times the driver retries the primary
database server, and if specified, alternate servers until a successful connection
is established. If set to If set to x, the driver retries connection attempts the specified number of times. If a connection is not established during the retry attempts, the driver returns an exception that is generated by the last database server to which it tried to connect. The default is |
|
| Wait interval, in seconds, between connection retry
attempts when the ConnectionRetryCount property is set to a positive integer. If
set to If set to x, the driver waits between connection retry attempts the specified number of seconds. The default is |
|
| Determines whether the driver fails the entire
failover process or continues with the process if exceptions occur while trying to
reestablish a lost connection. If set to If set to If set to The default is |
|
| The failover method you want the driver to use. If set to If
set to If set to The default is |
|
| Specifies whether the driver tries to connect to
the primary and an alternate server at the same time. If set to
If set to The default is |
|
| Sets whether the driver will use client load
balancing in its attempts to connect to the database servers (primary and
alternate). If client load balancing is enabled, the driver uses a random pattern
instead of a sequential pattern in its attempts to connect. The default is |
|
| Specifies the TCP port of the primary database
server that is listening for connections to the database. The default is |
|
| Specifies the name or IP address of the server to which you want to connect. |