N
Neon4d ago
conscious-sapphire

Maximum Postgres connections

Hi! I’m using Neon on the free plan with the pooled endpoint (pgBouncer). I saw in the docs that pgBouncer supports up to 10,000 client connections, but I couldn’t find what the actual maximum number of Postgres connections is for the free plan. Could you clarify what the max active database connections are when using the pooled endpoint on the free tier?
1 Reply
foreign-sapphire
foreign-sapphire4d ago
Hello! The max number of actual postgres connections that pgbouncer maps the client connections to depends on the max_connections parameter, which itself is set by the size of your database. This doc will show you the pgbouncer config and the max_connections value by database size so you can calculate what you need https://neon.com/docs/connect/connection-pooling
Neon
About Connection pooling - Neon Docs
Neon uses PgBouncer to support connection pooling, enabling up to 10,000 concurrent connections. PgBouncer is a lightweight connection pooler for Postgres. How to use connection pooling. To use connec...

Did you find this page helpful?