Status Update
Comments
[Deleted User] <[Deleted User]> #2
kn...@google.com <kn...@google.com> #3
[Deleted User] <[Deleted User]> #4
ji...@enjine.com <ji...@enjine.com> #5
ps...@gmail.com <ps...@gmail.com> #6
gr...@gmail.com <gr...@gmail.com> #7
ma...@gmail.com <ma...@gmail.com> #8
gl...@gmail.com <gl...@gmail.com> #9
pe...@gmail.com <pe...@gmail.com> #10
pa...@gmail.com <pa...@gmail.com> #11
[Deleted User] <[Deleted User]> #12
[Deleted User] <[Deleted User]> #13
jr...@gmail.com <jr...@gmail.com> #14
It would super helpful to have something like pgbouncer transparently available as a simple config option when provisioning a cloud sql instance. As a newcomer to postgresql I actually thought this would be the default config for cloud sql since it is such a widely recommended setup. It wasn't until I noticed the complains from people much more familiar with postgres than me, that I noticed the oob limits on connections and that many users end up hosting their own pgbouncer instance. Which is of course possible but not ideal, specially for a product whose core value proposition is management/deployment/operational simplicity.
co...@efugulin.com <co...@efugulin.com> #15
ch...@bergersenweb.com <ch...@bergersenweb.com> #16
aj...@google.com <aj...@google.com> #17
Hello Cloud SQL users,
We are interested in learning more about this feature request. If you star this item, please comment in with (1) what database engine/version you are using and (2) what connection pool tools, if any, that you use right now with your Cloud SQL instances or other similar databases.
All the best,
Akhil
Cloud SQL Product Manager
me...@kieranbenton.com <me...@kieranbenton.com> #18
(2) Application instances maintain their own pools (using the Npgsql library), these are aggregated via a seperate deployment of pgbouncer (in GKE).
Managing pgbouncer manually in GKE is a pain, as scaling it down in particular causes transient connection failures in the application pools. This is work aroundable but not without significant engineering effort we've not had chance to put in place yet.
al...@gmail.com <al...@gmail.com> #19
Our applications running in App Engine Node Flexible use their own connection pools, provided under the covers by the slonik NPM library.
The biggest issue we hit is when we have a lot of simultaneous events that trigger Cloud Functions for us that need to hit the DB. Even without a lot of load, we can spin up a bunch of Cloud Functions concurrently which can easily max out or DB connection limits. Would be really nice if we could just flip a switch to turn on pgbouncer on our DB instance. Basically would like this to work exactly how Azure does it on their managed postgres service:
sc...@leanpath.com <sc...@leanpath.com> #20
Other service providers provide PGBouncer as a feature that can be natively enabled/managed, like Digital Ocean (
With the latest incident
Edit: Using PostgreSQL 13. Managing my connection pooling in app with HikariCP combined with the cloud-sql-jdbc-socket-factory. We have manually examined our peak application scaling and per application pool size to stay under out db limits. Recently migrated from CloudSQL MySQL
go...@thingo.nl <go...@thingo.nl> #21
2) proxysql
Would be very nice to have a managed service for running proxysql for handling serverless peak scaling.
(its a must actually; and a pain to setup and manage on GCE or alternative)
re...@inteji.com <re...@inteji.com> #22
This prevents us to use IAM authentication onto CloudSQL for our services, and would really like to be able to switch to it, but it would create too many connections to the database without pooling.
Feel free to contact me if you want more details about our setup.
Description
As suggested at