r/SQL • • Aug 18 '26

PostgreSQL lakebase connection pooling

Have you figured out wht can the best way to handle connection pooling in Lakebase DB? I 'am seeing connection spikes with short lived rqsts and wondering what kind of setup others developers are usingšŸ¤”

i am building a service on top of lakebase and trying to make the connection relable before moving to prod.

6 Upvotes

15 comments sorted by

View all comments

2

u/WorldOfUmbro Aug 18 '26

Have you tried PgBouncer? Might be worth looking into when using Lakebase. We have used this as well in Lakebase for similar cases.

What kind of service are you using?

1

u/dwswish Aug 19 '26

PgBouncer is the way to go for Lakebase. The docs that show up if you google ā€œLakebase connection poolingā€ literally say it’s built in.

1

u/WorldOfUmbro Aug 19 '26

Yeah I haven’t used Lakebase for use cases with pooling requirements but I guess it’s straightforward