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

Lines changed: 16 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy