Skip to content

Commit 8f2977b

Browse files
committed
doc: Add advice on updating checkpoint_segments to max_wal_size
with suggestion from Michael Paquier
1 parent d371beb commit 8f2977b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

doc/src/sgml/release-9.5.sgml

+16
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,22 @@
152152
</para>
153153
</listitem>
154154

155+
<listitem>
156+
<para>
157+
The configuration parameter <varname>checkpoint_segments</varname> has
158+
been removed. Its place is taken by the new
159+
setting <xref linkend="guc-max-wal-size">. If you had previously
160+
tuned <varname>checkpoint_segments</varname>, the following formula will
161+
give you an approximately equivalent setting:
162+
<programlisting>
163+
max_wal_size = (3 * checkpoint_segments) * 16MB
164+
</programlisting>
165+
Note that the default setting for <varname>max_wal_size</varname> is
166+
much higher than the default <varname>checkpoint_segments</varname> used
167+
to be, so setting this might no longer be necessary.
168+
</para>
169+
</listitem>
170+
155171
<listitem>
156172
<!--
157173
2015-07-28 [6087d95] Andres..: Remove ssl renegotiation support.

0 commit comments

Comments
 (0)