Skip to content

Commit 637fab6

Browse files
committed
doc: mention statistics reset during crash recovery
Takayuki Tsunakawa
1 parent 6afe200 commit 637fab6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,11 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
185185
<filename>pg_stat_tmp</filename> by default.
186186
For better performance, <varname>stats_temp_directory</> can be
187187
pointed at a RAM-based file system, decreasing physical I/O requirements.
188-
When the server shuts down, a permanent copy of the statistics
188+
When the server shuts down cleanly, a permanent copy of the statistics
189189
data is stored in the <filename>global</filename> subdirectory, so that
190-
statistics can be retained across server restarts.
190+
statistics can be retained across server restarts. When recovery is
191+
performed at server start (e.g. after immediate shutdown, server crash,
192+
and point-in-time recovery), all statistics counters are reset.
191193
</para>
192194

193195
</sect2>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy