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.