Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E0F5B1337B98 for ; Tue, 18 Jan 2011 07:55:56 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 03511-07 for ; Tue, 18 Jan 2011 11:55:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by mail.postgresql.org (Postfix) with ESMTP id 8BF5C1337B92 for ; Tue, 18 Jan 2011 07:55:39 -0400 (AST) Received: from [192.168.1.6] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MNvyt-1PdD121FON-007BcV; Tue, 18 Jan 2011 12:55:36 +0100 Message-ID: <4D357FB6.60005@2ndquadrant.com> Date: Tue, 18 Jan 2011 06:55:34 -0500 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Josh Berkus CC: Tom Lane , Robert Haas , Magnus Hagander , pgsql-hackers@postgresql.org Subject: Re: auto-sizing wal_buffers References: <20767.1294964709@sss.pgh.pa.us> <4D314406.3000703@2ndquadrant.com> <4D3220E3.20804@agliodbs.com> In-Reply-To: <4D3220E3.20804@agliodbs.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:i9KSPgO8qdpWty2tXEcz1jr+Zjb2V57SSF0ehlhchj5 8Qq3i1BduJYG8nDDLRlOPncfrKLJx9BqJTgWj8hqvlIRa+6+m6 ZLBGG+Ecxb6sSce5J+R6Jrtz/0RI9hUnRDrPV+geFDi/HksYpX AGnyYF00Rl9TeqlaehP+GbRWcXy7NCy/kTlmvoqbyX5gU2l81g eKcc17hs28+VNK3E1v27Y3l6ss14pcKeMoBvgyTfys= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201101/1642 X-Sequence-Number: 179479 Josh Berkus wrote: > I think we can be more specific on that last sentence; is there even any > *theoretical* benefit to settings above 16MB, the size of a WAL segment? > Certainly there have been no test results to show any. > There was the set Marti just reminded about. The old wording suggested big enough to fix a single transaction was big enough, and that let to many people being confused and setting this parameter way too low. Since it's possible I'm wrong about 16MB being the upper limit, I didn't want the wording to specifically rule out people testing that size to see what happens. We believe there's never any advantage due to the forced wal segment switch, but having test results to the contrary floating around keeps me from being too aggressive in how the wording there goes. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us "PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books