# PostgreSQL 宏观查询优化之 pg_stat_statements

> 查询优化是 DBA 的核心工作内容之一，本文介绍了如何使用 pg_stat_statements 提供的指标，针对 PostgreSQL 进行宏观查询优化。

---

LLMS index: [llms.txt](/llms.txt)

---

[![featured](/img/hero/pg/pgss.jpg)](https://vonng.com/pg/pgss/)

查询优化是 DBA 的核心工作内容之一，本文介绍了如何使用 pg_stat_statements 提供的指标，针对 PostgreSQL 进行宏观查询优化。 [**阅读全文**](https://vonng.com/pg/pgss/)
