|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.289 2010/07/03 20:43:57 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.290 2010/07/03 21:23:58 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter Id="runtime-config">
|
4 | 4 | <title>Server Configuration</title>
|
@@ -1914,6 +1914,31 @@ SET ENABLE_SEQSCAN TO OFF;
|
1914 | 1914 | </para>
|
1915 | 1915 | </listitem>
|
1916 | 1916 | </varlistentry>
|
| 1917 | + |
| 1918 | + <varlistentry id="guc-vacuum-defer-cleanup-age" xreflabel="vacuum_defer_cleanup_age"> |
| 1919 | + <term><varname>vacuum_defer_cleanup_age</varname> (<type>integer</type>)</term> |
| 1920 | + <indexterm> |
| 1921 | + <primary><varname>vacuum_defer_cleanup_age</> configuration parameter</primary> |
| 1922 | + </indexterm> |
| 1923 | + <listitem> |
| 1924 | + <para> |
| 1925 | + Specifies the number of transactions by which <command>VACUUM</> and |
| 1926 | + <acronym>HOT</> updates will defer cleanup of dead row versions. The |
| 1927 | + default is zero transactions, meaning that dead row versions can be |
| 1928 | + removed as soon as possible, that is, as soon as they are no longer |
| 1929 | + visible to any open transaction. You may wish to set this to a |
| 1930 | + non-zero value on a primary server that is supporting hot standby |
| 1931 | + servers, as described in <xref linkend="hot-standby">. This allows |
| 1932 | + more time for queries on the standby to complete without incurring |
| 1933 | + conflicts due to early cleanup of rows. However, since the value |
| 1934 | + is measured in terms of number of write transactions occurring on the |
| 1935 | + primary server, it is difficult to predict just how much additional |
| 1936 | + grace time will be made available to standby queries. |
| 1937 | + This parameter can only be set in the <filename>postgresql.conf</> |
| 1938 | + file or on the server command line. |
| 1939 | + </para> |
| 1940 | + </listitem> |
| 1941 | + </varlistentry> |
1917 | 1942 | </variablelist>
|
1918 | 1943 | </sect2>
|
1919 | 1944 |
|
@@ -2004,29 +2029,6 @@ SET ENABLE_SEQSCAN TO OFF;
|
2004 | 2029 | </listitem>
|
2005 | 2030 | </varlistentry>
|
2006 | 2031 |
|
2007 |
| - <varlistentry id="guc-vacuum-defer-cleanup-age" xreflabel="vacuum_defer_cleanup_age"> |
2008 |
| - <term><varname>vacuum_defer_cleanup_age</varname> (<type>integer</type>)</term> |
2009 |
| - <indexterm> |
2010 |
| - <primary><varname>vacuum_defer_cleanup_age</> configuration parameter</primary> |
2011 |
| - </indexterm> |
2012 |
| - <listitem> |
2013 |
| - <para> |
2014 |
| - Specifies the number of transactions by which <command>VACUUM</> and |
2015 |
| - <acronym>HOT</> updates will defer cleanup of dead row versions. The |
2016 |
| - default is 0 transactions, meaning that dead row versions will be |
2017 |
| - removed as soon as possible. You may wish to set this to a non-zero |
2018 |
| - value when planning or maintaining a Hot Standby connection, as |
2019 |
| - described in <xref linkend="hot-standby">. The recommended value is |
2020 |
| - <literal>0</> unless you have clear reason to increase it. The purpose |
2021 |
| - of the parameter is to allow the user to specify an approximate time |
2022 |
| - delay before cleanup occurs. However, it should be noted that there is |
2023 |
| - no direct link with any specific time delay and so the results will be |
2024 |
| - application and installation specific, as well as variable over time, |
2025 |
| - depending upon the transaction rate (of writes only). |
2026 |
| - </para> |
2027 |
| - </listitem> |
2028 |
| - </varlistentry> |
2029 |
| - |
2030 | 2032 | </variablelist>
|
2031 | 2033 | </sect2>
|
2032 | 2034 | </sect1>
|
|
0 commit comments