Back-patch to 9.3 where pg_stat directory was introduced.
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
- data is stored in the global subdirectory, so that
+ data is stored in the pg_stat subdirectory, so that
statistics can be retained across server restarts.
Subdirectory containing exported snapshots
+|
+ pg_stat>
+ Subdirectory containing permanent files for the statistics
+ subsystem
+
+
|
pg_stat_tmp>
Subdirectory containing temporary files for the statistics