Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 612BB6501F6 for ; Tue, 22 Jul 2008 17:14:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 21737-04-4 for ; Tue, 22 Jul 2008 17:13:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by postgresql.org (Postfix) with ESMTP id 14FA8650215 for ; Tue, 22 Jul 2008 16:30:23 -0300 (ADT) Received: from mail.natserv.com (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with SMTP id 4D67E1703C; Tue, 22 Jul 2008 15:30:21 -0400 (EDT) Message-ID: <7262a9b6ab4a76eab29fc9d94226baec@stringsutils.com> Date: Tue, 22 Jul 2008 15:30:21 -0400 From: "Francisco Reyes" Subject: Re: [ADMIN] shared_buffers and shmmax To: Tom Lane Cc: , , Reply-to: In-Reply-To: <28167.1216737959@sss.pgh.pa.us> References: <818191.79570.qm@web25804.mail.ukl.yahoo.com> <28167.1216737959@sss.pgh.pa.us> X-Mailer: Hastymail 1.5 x-priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/7 X-Sequence-Number: 4938 On 10:45 am 07/22/08 Tom Lane wrote: > [ redirecting to pgsql-docs ] > number-of-buffers. I agree it's not entirely obvious that what it > means is "multiply your setting in KB/MB by 8400/8192". Anybody have > an idea how to clarify things? Perhaps changing the table title? Table 17-2. Configuration parameters affecting PostgreSQL's shared memory usage when not using a size modified. Alternatively, below the table we could have clarifications such as: Previously, it was not possible to indicate a size modified such as M for Megabytes. As of version X.Y, Postgresql allows to use M, for MB, GB for GB and more... See.... for all values. When not using one of the new modifiers the space used would be the number you enter times the constant on the right side of the table. For example using 100 shared_buffers would be 100 x 8400 = 840,000 bytes.