Connect to Aiven for PostgreSQL®
Connect to your Aiven for PostgreSQL® service, and manage connection pooling and connection limits.
Choose how to connect
You can connect your clients directly to the PostgreSQL server, or through a pooled
connection. Both paths require TLS; see Connect to Aiven for PostgreSQL®
services for the supported
sslmode values.
- Direct connections count individually against your service's
max_connectionslimit. Choose them for administration, migrations, and applications that keep a small, stable number of long-lived connections open. - Pooled connections let many more clients share that same limit. Choose them
when many application instances or short-lived connections would otherwise
exhaust
max_connections.
You can use both connection types for the same service at the same time.
Related pages