DEVELOPER · FREE
Size a Postgres connection pool from your instance count and worker counts — and spot when you have oversubscribed it.
Application instances
Pool size per instance
Other connections (migrations, cron, admin, replicas)
Database max_connections
Database CPU cores
Reset
Behind a transaction-mode pooler (PgBouncer, RDS Proxy) Behind a transaction-mode pooler (PgBouncer, RDS Proxy)
Result Connections demanded 75 6 × 10 + 15 Database allows 100 Headroom 25 25% spare Useful concurrency 9 4 cores × 2 + 1 You have headroom on max_connections but 75 connections against 4 cores will spend most of their time waiting on CPU rather than working. A smaller pool is usually faster: try 2 per instance and watch p99 latency — it often improves. Without a pooler, every application connection holds a Postgres backend process and its memory for its whole life, whether it is running a query or idle. A transaction-mode pooler is usually the highest-leverage change once you are past a handful of instances. Pool size against instance count
Instances
At current pool size
Fits in max_connections
6
75
Yes
12
135
No — 35 over
24
255
No — 155 over
Copy as Markdown
Copy as CSV
Paste rows with a heading row; the columns it understands are: Application instances, Pool size per instance, Other connections (migrations, cron, admin, replicas), Database max_connections, Database CPU cores, Behind a transaction-mode pooler (PgBouncer, RDS Proxy). Up to 500 rows.
Run on every row
NEXT STEP
Questions about this tool? Ask us on WhatsApp, get a free quote for the work around it, or have us do it for you: a senior engineer on your side of the table, from ₦1,500,000/month.
Websites, apps, cloud, automation and AI for businesses in Nigeria and anywhere else. We build it, host it, watch it and keep it running, and explain everything in plain language.
© 2026 SigmaDev Digital. All rights reserved.
To the bottom
We use Google Analytics to see which pages help and the Meta Pixel to measure our ads. Nothing loads unless you allow it.
Accept all
Reject all
Close
Settings