Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5434e46

Browse files
committed
Add note to the shared memory sizing table about needing to use page count in
shared_buffers and wal_buffers, not size in bytes. Per discussion.
1 parent fc3297d commit 5434e46

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.422 2008/11/20 11:48:26 mha Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.423 2008/12/16 19:30:43 alvherre Exp $ -->
22

33
<chapter Id="runtime">
44
<title>Operating System Environment</title>
@@ -1124,6 +1124,16 @@ set semsys:seminfo_semmsl=32
11241124
</tbody>
11251125
</tgroup>
11261126
</table>
1127+
1128+
<note>
1129+
<para>
1130+
The multipliers for <varname>shared_buffers</> and
1131+
<varname>wal_buffers</> should be the number of buffers, not the
1132+
amount in bytes. To find out the number of shared or wal buffers, divide
1133+
the amount in bytes by <xref linkend="guc-block-size"> and
1134+
<xref linkend="guc-wal-block-size">, respectively.
1135+
</para>
1136+
</note>
11271137
</sect2>
11281138

11291139

0 commit comments

Comments
 (0)