]> granicus.if.org Git - postgresql/commitdiff
doc: Add advice on updating checkpoint_segments to max_wal_size
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 22 Oct 2015 17:59:58 +0000 (13:59 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 22 Oct 2015 17:59:58 +0000 (13:59 -0400)
with suggestion from Michael Paquier

doc/src/sgml/release-9.5.sgml

index d5b68e73ef5bb2623107cbf69e2d33b3ac82c49a..92443e43c193d9bc0831a4c299b8a7fb37aa088d 100644 (file)
      </para>
     </listitem>
 
+    <listitem>
+     <para>
+      The configuration parameter <varname>checkpoint_segments</varname> has
+      been removed.  Its place is taken by the new
+      setting <xref linkend="guc-max-wal-size">.  If you had previously
+      tuned <varname>checkpoint_segments</varname>, the following formula will
+      give you an approximately equivalent setting:
+<programlisting>
+max_wal_size = (3 * checkpoint_segments) * 16MB
+</programlisting>
+      Note that the default setting for <varname>max_wal_size</varname> is
+      much higher than the default <varname>checkpoint_segments</varname> used
+      to be, so setting this might no longer be necessary.
+     </para>
+    </listitem>
+
     <listitem>
 <!--
 2015-07-28 [6087d95] Andres..: Remove ssl renegotiation support.