aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-06-05 01:46:31 +0900
committerFujii Masao <fujii@postgresql.org>2014-06-05 01:46:31 +0900
commit8dc90b9c4c45fa30a8f59313e21d294529ef7182 (patch)
tree3a6a7f969d7d5b75207a35e63020282c118fb9d9
parent9dee1e4b3832c1cdb1b052a58dca0cf33929438a (diff)
downloadpostgresql-8dc90b9c4c45fa30a8f59313e21d294529ef7182.tar.gz
postgresql-8dc90b9c4c45fa30a8f59313e21d294529ef7182.zip
Add description of pg_stat directory into doc.
Back-patch to 9.3 where pg_stat directory was introduced.
-rw-r--r--doc/src/sgml/monitoring.sgml2
-rw-r--r--doc/src/sgml/storage.sgml6
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index b37b6c301cb..ea9aaaaee03 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -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, 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.
</para>
diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml
index b628c8fd70b..1035f58a9b1 100644
--- a/doc/src/sgml/storage.sgml
+++ b/doc/src/sgml/storage.sgml
@@ -94,6 +94,12 @@ Item
</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
subsystem</entry>