Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4F68964FD7C for ; Tue, 16 Dec 2008 10:43:46 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 35163-08 for ; Tue, 16 Dec 2008 10:43:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by mail.postgresql.org (Postfix) with ESMTP id 4420664FD6F for ; Tue, 16 Dec 2008 10:43:40 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-126-65-108.bk5-dsl.surnet.cl [200.126.65.108]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id mBGEmZqi000442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Dec 2008 06:48:38 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 7FBEA47CCD; Tue, 16 Dec 2008 11:43:27 -0300 (CLST) Date: Tue, 16 Dec 2008 11:43:27 -0300 From: Alvaro Herrera To: Bruce Momjian Cc: Tom Lane , valiouk@yahoo.co.uk, pgsql-docs@postgresql.org, dx k9 Subject: Re: [ADMIN] shared_buffers and shmmax Message-ID: <20081216144327.GI4741@alvh.no-ip.org> References: <14937.1229387738@sss.pgh.pa.us> <200812160313.mBG3DLH09968@momjian.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <200812160313.mBG3DLH09968@momjian.us> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Tue, 16 Dec 2008 06:48:39 -0800 (PST) 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: 200812/12 X-Sequence-Number: 5019 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Bruce Momjian wrote: > OK, I never got the change applied because of Alvaro's objection so > there is nothing to revert. Alvaro said he has an idea for improved > wording; I do not. I think we should add a more explicit note, like in the attached patch. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. --IJpNTDwzlM2Ie8A6 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="note-buffersize.patch" Index: runtime.sgml =================================================================== RCS file: /home/alvherre/Code/cvs/pgsql/doc/src/sgml/runtime.sgml,v retrieving revision 1.422 diff -c -p -r1.422 runtime.sgml *** runtime.sgml 20 Nov 2008 11:48:26 -0000 1.422 --- runtime.sgml 16 Dec 2008 14:40:42 -0000 *************** set semsys:seminfo_semmsl=32 *** 1124,1129 **** --- 1124,1139 ---- + + + + The multipliers for shared_buffers and + 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 and + , respectively. + + --IJpNTDwzlM2Ie8A6--