File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,14 @@ PostgreSQL 9.6+ provides an information about current wait event of particular
88process. However, in order to gather descriptive statistics of server
99behavior user have to sample current wait event multiple times.
1010pg\_ 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)
You can’t perform that action at this time.
0 commit comments