Options

ODBC timeout setting for connection failover (backup node)

Hello!
We are using Vertica 7.x and have small cluster with 3 nodes.
Some our applications written in PHP and connects to Vertica through ODBC (unixODBC) driver.

To prevent failures when one of nodes is down, I use the following config:

[db] Driver = vertica Servername = node1 BackupServerNode = node2 ConnectionLoadBalance = 1 # not related to question

In case when node1 is down (lost from network), driver successfully connects to node2, but only after 15 seconds of some timeout.

It is very long for interactive web apps, I want decrease it (timeout before trying backup node) to about 3-5 seconds but currently can't find any way to do it.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file