Skip to content

Commit c8c9c1f

Browse files
committed
Add description of pg_stat directory into doc.
Back-patch to 9.3 where pg_stat directory was introduced.
1 parent 654e8e4 commit c8c9c1f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
186186
For better performance, <varname>stats_temp_directory</> can be
187187
pointed at a RAM-based file system, decreasing physical I/O requirements.
188188
When the server shuts down cleanly, a permanent copy of the statistics
189-
data is stored in the <filename>global</filename> subdirectory, so that
189+
data is stored in the <filename>pg_stat</filename> subdirectory, so that
190190
statistics can be retained across server restarts. When recovery is
191191
performed at server start (e.g. after immediate shutdown, server crash,
192192
and point-in-time recovery), all statistics counters are reset.

doc/src/sgml/storage.sgml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ Item
103103
<entry>Subdirectory containing exported snapshots</entry>
104104
</row>
105105

106+
<row>
107+
<entry><filename>pg_stat</></entry>
108+
<entry>Subdirectory containing permanent files for the statistics
109+
subsystem</entry>
110+
</row>
111+
106112
<row>
107113
<entry><filename>pg_stat_tmp</></entry>
108114
<entry>Subdirectory containing temporary files for the statistics

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy