Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b5fedc

Browse files
author
Neil Conway
committed
Minor improvements to the description of archive_timeout.
1 parenta46ca61 commit2b5fedc

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.94 2006/11/05 22:42:07 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.95 2006/11/12 05:12:42 neilc Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -1601,24 +1601,22 @@ archive_command = 'copy "%p" /mnt/server/archivedir/"%f"' # Windows
16011601
</indexterm>
16021602
<listitem>
16031603
<para>
1604-
The <xref linkend="guc-archive-command"> is only invoked on completed
1605-
WAL segments. Hence,
1606-
if your server generates only little WAL traffic (or has slack periods
1607-
where it does so), there could be a long delay between the completion
1608-
of a transaction and its safe recording in archive storage. To put
1609-
a limit on how old unarchived data can be, you can set
1610-
<varname>archive_timeout</> to force the server to switch
1611-
to a new WAL segment file periodically. When this parameter is
1612-
greater than zero, the server will switch to a new segment file
1613-
whenever this many seconds elapse since the last segment file switch.
1614-
Note that archived
1615-
files that are closed early due to a forced switch are still the same
1616-
length as completely full files. It is therefore unwise to set a very
1617-
short <varname>archive_timeout</> &mdash; it will bloat your archive
1604+
The <xref linkend="guc-archive-command"> is only invoked on
1605+
completed WAL segments. Hence, if your server generates little WAL
1606+
traffic (or has slack periods where it does so), there could be a
1607+
long delay between the completion of a transaction and its safe
1608+
recording in archive storage. To put a limit on how old unarchived
1609+
data can be, you can set <varname>archive_timeout</> to force the
1610+
server to switch to a new WAL segment file periodically. When this
1611+
parameter is greater than zero, the server will switch to a new
1612+
segment file whenever this many seconds have elapsed since the last
1613+
segment file switch. Note that archived files that are closed early
1614+
due to a forced switch are still the same length as completely full
1615+
files. Therefore, it is unwise to use a very short
1616+
<varname>archive_timeout</> &mdash; it will bloat your archive
16181617
storage. <varname>archive_timeout</> settings of a minute or so are
1619-
usually reasonable.
1620-
This parameter can only be set in the <filename>postgresql.conf</>
1621-
file or on the server command line.
1618+
usually reasonable. This parameter can only be set in the
1619+
<filename>postgresql.conf</> file or on the server command line.
16221620
</para>
16231621
</listitem>
16241622
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp