PostgreSQL Connection Pooling (PgBouncer)

2 months ago

Railway doesn't have native connection pooling for Postgres today. Without it, your database can quickly run out of connections as your app scales — and the workarounds are too manual.

We're adding one-click PgBouncer connection pooling that works on any Postgres setup, including high-availability clusters. Enabling or disabling pooling won't restart your database. You'll get a pooled DATABASE_URL by default (transaction mode) plus an unpooled DATABASE_UNPOOLED_URL for operations that need a direct connection like migrations, LISTEN/NOTIFY, and CREATE INDEX CONCURRENTLY. Pool mode is selectable (transaction, session, or statement) and changeable anytime without touching your database.

What connection pooling features matter most to you? Drop a comment!

Completed

0 Threads mention this feature

4 Replies

Railway
BOT

2 months ago

This thread has been made public. The thread and any further activity are now visible to everyone.

Status changed to Planned Railway 2 months ago


2 months ago

This is now actively being worked on, excited to bring this to life.


Status changed to In Progress Railway 2 months ago


2 months ago

Shipped to Priority Boarding! Early access is available now, let us know how it goes.


Status changed to Completed Railway 2 months ago


paulo

Shipped to Priority Boarding! Early access is available now, let us know how it goes.

subzeta
HOBBY

2 months ago

Good morning Paulo! Can I request for early access? The options does not appear yet for my PostgreSQL service, I requested the priority boarding after it was shipped :/


2 months ago

Shipped! This is live for all users now. Appreciate all the feedback that went into this.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...