Skip to main content

Connection management for Aiven for PostgreSQL®

Manage connection limits, idle connections, and TLS versions for your Aiven for PostgreSQL® service.

How these settings interact

Keep-alive timeouts and idle_in_transaction_session_timeout guard against different problems, and one doesn't substitute for the other. Keep-alives detect a client that has disconnected at the network level. A client that's still connected, but has left a transaction open, passes every keep-alive probe while it continues holding locks and memory, the scenario covered in Troubleshoot out-of-shared-memory errors.

Before you troubleshoot a connection issue

Related pages