]> granicus.if.org Git - postgresql/commitdiff
Add description of pg_stat directory into doc.
authorFujii Masao <fujii@postgresql.org>
Wed, 4 Jun 2014 16:43:17 +0000 (01:43 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 4 Jun 2014 16:43:17 +0000 (01:43 +0900)
Back-patch to 9.3 where pg_stat directory was introduced.

doc/src/sgml/monitoring.sgml
doc/src/sgml/storage.sgml

index 1c05243a4a7ccd26770f949ad6a039d7e60116c4..69d99e7c75ff58348172e80c7c950c52dbc5dfc4 100644 (file)
@@ -186,7 +186,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
    For better performance, <varname>stats_temp_directory</> can be
    pointed at a RAM-based file system, decreasing physical I/O requirements.
    When the server shuts down cleanly, a permanent copy of the statistics
-   data is stored in the <filename>global</filename> subdirectory, so that
+   data is stored in the <filename>pg_stat</filename> subdirectory, so that
    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.
index 57e7f095b50820ee65179dd4c506a45152cc51a1..330e385aa3c625d768fa5ec9d1b6ac623b7ed10c 100644 (file)
@@ -103,6 +103,12 @@ Item
  <entry>Subdirectory containing exported snapshots</entry>
 </row>
 
+<row>
+ <entry><filename>pg_stat</></entry>
+ <entry>Subdirectory containing permanent files for the statistics
+  subsystem</entry>
+</row>
+
 <row>
  <entry><filename>pg_stat_tmp</></entry>
  <entry>Subdirectory containing temporary files for the statistics