Skip to main content

Connection limits per plan for Aiven for PostgreSQL®

By default, Aiven for PostgreSQL® instances limit the number of allowed connections to make sure that the database is able to serve them all.

max_connections defaults

Default values of the max_connections setting vary according to the service plan:

PlanMax connections
Free20
Hobbyist25
Startup/Business/Premium-4100
Startup/Business/Premium-8200
Startup/Business/Premium-16400
Startup/Business/Premium-32800
Startup/Business/Premium-64 and above1000
note

Aiven can utilize any number of the connections for managing the service.

Increase max_connections

note

This is a limited-release parameter. Contact your account team to confirm your eligibility.

To increase the number of allowed connection for your service, set the value of the max_connections parameter.

warning

You cannot decrease this parameter value when set.

Use connection pooling

When several clients or client threads are connecting to the database, Aiven recommends using connection pooling to limit the number of actual backend connections. Connection pooling is available in all Aiven for PostgreSQL Startup, Business, and Premium plans, and can be configured in the console.