Keeping DbVisualizer Alive
[Deleted User]
Administrator
Jim Knicely authored this tip.
Clients often use DbVisualizer as their preferred GUI tool to query Vertica. Developers and DBAs tend to leave DbVisualizer open on their desktop while they are off doing some other activity, only to return to find out that DbVisualizer has disconnected from Vertica. Most likely the database has been configured to terminate sessions that have been idle for some time or the underlying network does the same with TCP/IP connections.
DbVisualizer includes a “Connection Keep-Alive” feature which helps to prevent connections from being closed due to timeouts of this kind by periodically executing a simple SELECT statement.
To enable Keep-Alive for a connection:
- Open the Object View tab for the connection.
- Open its Properties tab.
- Select the Physical Connection category.
- Modify or enter a simple SQL statement in the Validation and Keep-Alive SQL field, if needed (see note below).
- Enable Connection Keep-Alive and optionally change the idle time interval.
- Click the **Apply **button.
Have Fun!
0