From 637fab6e575b36d3a4368e7c2b923231c5504035 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 31 Jan 2014 21:28:15 -0500 Subject: [PATCH] doc: mention statistics reset during crash recovery Takayuki Tsunakawa --- doc/src/sgml/monitoring.sgml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index d301d9c5c3..a37e6b6f33 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -185,9 +185,11 @@ postgres: user database host pg_stat_tmp by default. For better performance, stats_temp_directory can be pointed at a RAM-based file system, decreasing physical I/O requirements. - When the server shuts down, a permanent copy of the statistics + When the server shuts down cleanly, a permanent copy of the statistics data is stored in the global subdirectory, so that - statistics can be retained across server restarts. + statistics can be retained across server restarts. When recovery is + performed at server start (e.g. after immediate shutdown, server crash, + and point-in-time recovery), all statistics counters are reset.