Add notes on pg_stat_statements
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
5304d523c2
commit
f3c4d63254
2 changed files with 19 additions and 0 deletions
|
@ -20,3 +20,8 @@ Ideas box
|
|||
---------
|
||||
|
||||
Here is the list of ideas/things we looked at:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
pg_stat_statements
|
||||
|
|
14
docs/datanommer_datagrepper/pg_stat_statements.rst
Normal file
14
docs/datanommer_datagrepper/pg_stat_statements.rst
Normal file
|
@ -0,0 +1,14 @@
|
|||
Postgresql's pg_stat_statements
|
||||
===============================
|
||||
|
||||
This is a postgresql module allowing to track planning and execution statistics
|
||||
of all SQL statements executed by a server.
|
||||
|
||||
Using this, we can monitor/figure out what the slowest queries executed
|
||||
on the server are.
|
||||
|
||||
Resources:
|
||||
|
||||
* Postgresql doc: https://www.postgresql.org/docs/13/pgstatstatements.html
|
||||
* How to enable it: https://www.virtual-dba.com/postgresql-performance-enabling-pg-stat-statements/
|
||||
* How to use it: https://www.virtual-dba.com/postgresql-performance-identifying-hot-and-slow-queries/
|
Loading…
Add table
Add a link
Reference in a new issue