Logging slow queries on Google Cloud SQL PostgreSQL instances

前端 未结 4 818
死守一世寂寞
死守一世寂寞 2021-02-13 10:40

The company I work for uses Google Cloud SQL to manage their SQL databases in production.

We\'re having performance issues and I thought it\'d be a good idea (among othe

4条回答
  •  我在风中等你
    2021-02-13 11:19

    The possibility of monitoring slow PostgreSQL queries for Cloud SQL instances is currently not available. As you comment, the log_min_duration_statement flag is currently not supported by Cloud SQL.

    Right now, work is being made on adding this feature to Cloud SQL, and you can keep track on the progress made through this link. You can click on the star icon on the top left corner to get email notifications whenever any significant progress has been achieved.

提交回复
热议问题