summaryrefslogtreecommitdiff
path: root/doc/src/sgml/runtime.sgml
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-12-16 19:30:43 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-12-16 19:30:43 +0000
commit5434e469868a198824df6198733e4fc57f72ce12 (patch)
treedf4eef75b110857f4ceaac4ff627039096a63c37 /doc/src/sgml/runtime.sgml
parentfc3297d828645bcf6447b8cdb2d5b99cff19be9e (diff)
downloadpostgresql-5434e469868a198824df6198733e4fc57f72ce12.tar.gz
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.
Diffstat (limited to 'doc/src/sgml/runtime.sgml')
-rw-r--r--doc/src/sgml/runtime.sgml12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index f40899e0d6..c48ffa57af 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.422 2008/11/20 11:48:26 mha Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.423 2008/12/16 19:30:43 alvherre Exp $ -->
<chapter Id="runtime">
<title>Operating System Environment</title>
@@ -1124,6 +1124,16 @@ set semsys:seminfo_semmsl=32
</tbody>
</tgroup>
</table>
+
+ <note>
+ <para>
+ The multipliers for <varname>shared_buffers</> and
+ <varname>wal_buffers</> should be the number of buffers, not the
+ amount in bytes. To find out the number of shared or wal buffers, divide
+ the amount in bytes by <xref linkend="guc-block-size"> and
+ <xref linkend="guc-wal-block-size">, respectively.
+ </para>
+ </note>
</sect2>