Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8eaa130

Browse filesBrowse files
author
Oleg Tselebrovskiy
committed
README fix
Add a recommendation for 'pg_stat_statements' and 'pg_wait_sampling' order in shared_preload_libraries
1 parent 06d9025 commit 8eaa130
Copy full SHA for 8eaa130

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ The module must be loaded by adding `pg_wait_sampling` to
1818
shared memory and launches background worker. This means that a server restart
1919
is needed to add or remove the module.
2020

21+
When used with `pg_stat_statements` it is recommended to put `pg_stat_statements`
22+
before `pg_wait_sampling` in `shared_preload_libraries` so queryIds of
23+
utility statements are not rewritten by the former.
24+
2125
When `pg_wait_sampling` is enabled, it collects two kinds of statistics.
2226

2327
* History of waits events. It's implemented as in-memory ring buffer where

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.