Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit34e9e47

Browse files
author
Alexander Korotkov
committed
Mention that pg_wait_sampling should be in shared_preload_libraries.
1 parentcf5449b commit34e9e47

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ PostgreSQL 9.6+ provides an information about current wait event of particular
88
process. However, in order to gather descriptive statistics of server
99
behavior user have to sample current wait event multiple times.
1010
pg\_wait\_sampling is an extension for collecting sampling statistics of wait
11-
events. It collects two kinds of statistics.
11+
events.
12+
13+
The module must be loaded by adding pg\_wait\_sampling to
14+
shared\_preload\_libraries in postgresql.conf, because it requires additional
15+
shared memory and launches background worker. This means that a server restart
16+
is needed to add or remove the module.
17+
18+
When pg\_wait\_sampling is enabled, it collects two kinds of statistics.
1219

1320
* History of waits events. It's implemented as in-memory ring buffer where
1421
samples of each process wait events are written with given (configurable)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp