Keep-alive connections parameters
PostgreSQL® keep-alive connection parameters are useful to manage Idle connections. The following is a reference to the default Aiven for PostgreSQL® parameters on the server side, and what keep-alive parameters can be used at the client side.
Keep-alive server side parameters
Currently, the following default keep-alive timeouts are used on the server-side:
| Parameter (server) | Value | Description |
|---|---|---|
tcp_keepalives_idle | 180 | Specifies the amount of time with no network activity after which the operating system should send a TCP keepalive message to the client. |
tcp_keepalives_count | 6 | Specifies the number of TCP keepalive messages that can be lost before the server's connection to the client is considered dead. |
tcp_keepalives_interval | 10 | Specifies the amount of time after which a TCP keepalive message that has not been acknowledged by the client should be retransmitted. |