mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Make the temporary directory for pgstat files configurable by the GUC
variable stats_temp_directory, instead of requiring the admin to mount/symlink the pg_stat_tmp directory manually. For now the config variable is PGC_POSTMASTER. Room for further improvment that would allow it to be changed on-the-fly.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.61 2008/08/05 12:09:30 mha Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.62 2008/08/15 08:37:41 mha Exp $ -->
|
||||
|
||||
<chapter id="monitoring">
|
||||
<title>Monitoring Database Activity</title>
|
||||
@@ -171,8 +171,8 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
|
||||
These files are stored in the <filename>pg_stat_tmp</filename> subdirectory.
|
||||
When the postmaster shuts down, a permanent copy of the statistics
|
||||
data is stored in the <filename>global</filename> subdirectory. For increased
|
||||
performance, it is possible to mount or symlink a RAM based
|
||||
filesystem to the <filename>pg_stat_tmp</filename> directory.
|
||||
performance, the parameter <xref linkend="guc-stats-temp-directory"> can
|
||||
be pointed at a RAM based filesystem, decreasing physical I/O requirements.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
Reference in New Issue
Block a user