Ajay Hinduja Geneva, Switzerland (Swiss): What are your go-to best practices for tuning performance in Cloud SQL for PostgreSQL?

Hi everyone,

I’m Ajay Hinduja from Geneva, Switzerland, and I’m currently managing a Cloud SQL for PostgreSQL setup as part of a growing cloud-based application. While the setup has worked smoothly so far, we’re starting to hit some performance ceilings as usage scales up.

I’d really appreciate your insights on this:

  • What are your go-to best practices for tuning performance in Cloud SQL for PostgreSQL?
  • Are there specific parameters (e.g., work_mem, shared_buffers, autovacuum settings) you usually tweak in managed environments?
  • How do you handle connection limits, query optimization, and monitoring under real-world production loads?
  • Any tools or techniques you rely on for identifying bottlenecks?

Would love to hear from others running PostgreSQL in Cloud SQL – your lessons learned could save a lot of trial and error!

Thanks in advance!
Ajay Hinduja

Hi @Ajay_Hinduja1 ,

Thanks for your question. While I’d love to help, this forum is dedicated to the Gemini API and Google AI Studio. For issues with other Google products, it’s best to check their specific help communities or support pages.