Configuring TCP Keepalives
By default, the Simba Amazon Redshift JDBC Driver is configured to use TCP keepalives to prevent connections from timing out. You can specify when the connector starts sending keepalive packets or disable the feature by setting the relevant properties in the connection URL. For more information about the syntax of the connection URL, see Building the Connection URL.
To specify when the connector sends keepalive packets:
- Set the
TCPKeepAliveMinutes
property to the number of minutes of inactivity before the connector starts sending TCP keepalive packets.
To disable TCP keepalives:
- Set the
TCPKeepAlive
property toFALSE
.