flâneur

Monitor with pg_stat_statements | Databricks on AWS

docs.databricks.com · 626 words · saved by 1 readers

Monitor query performance using the pg\_stat\_statements Postgres extension to track execution statistics for all SQL statements.

pg_stat_statements is a Postgres extension that provides a detailed statistical view of SQL statement execution within your Lakebase Postgres database. It tracks information such as execution counts, total and average execution times, and more, helping you analyze and optimize SQL query performance. When to use pg_stat_statements​ Use pg_stat_statements when you need: Detailed query execution statistics and performance metrics Identification of slow or frequently executed queries Query performance analysis and optimization insights Database workload analysis and capacity planning…

saved by

related reading