]> granicus.if.org Git - postgresql/commitdiff
Add note to the shared memory sizing table about needing to use page count in
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 16 Dec 2008 19:30:43 +0000 (19:30 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 16 Dec 2008 19:30:43 +0000 (19:30 +0000)
shared_buffers and wal_buffers, not size in bytes.  Per discussion.

doc/src/sgml/runtime.sgml

index f40899e0d60e5fb6959abe46d6a4a2f4ceaaac27..c48ffa57afa2bc020c231a8e78e2ee122364355f 100644 (file)
@@ -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>