Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 706421337BFA for ; Sat, 15 Jan 2011 03:01:54 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 20863-04-5 for ; Sat, 15 Jan 2011 07:01:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mail.postgresql.org (Postfix) with ESMTP id 999B61337BD2 for ; Sat, 15 Jan 2011 03:01:42 -0400 (AST) Received: from [192.168.1.7] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MV0nZ-1PlPie4869-00YV6K; Sat, 15 Jan 2011 08:01:38 +0100 Message-ID: <4D314650.9010601@2ndquadrant.com> Date: Sat, 15 Jan 2011 02:01:36 -0500 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Kevin Grittner CC: Robert Haas , pgsql-hackers@postgresql.org Subject: Re: auto-sizing wal_buffers References: <4D2F354F0200002500039510@gw.wicourts.gov> In-Reply-To: <4D2F354F0200002500039510@gw.wicourts.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:xaMWFHtCUrpz91wvZtsQLxeaCBFUVn7RqFqeycHuJ4N uDJvuMboBIgZlMgS7eJgWxefMvvoaE41kXEpNOdFJBoQSfy0yr CBDdYLBD7QZ/4cZrrDQJstCzgNHlXMwI/K9v0MyDBzmrVTgiDk HcqGME44NNAFikSvAb/yXNi4tD36ksD6UiSDixGILsJWPt2AdV lmKmiPMazsx+mpeSfo99BNAwFT505MZc1KdM2I349s= 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/1221 X-Sequence-Number: 179058 Kevin Grittner wrote: > I guess a manual override doesn't bother me too much, but I am a bit dubious of its > value, and there is value in keeping the GUC count down... It's a risk-reward thing really. The reward for removing it is that a few lines of code and a small section of the documentation go away. It's not very big. The risk seems low, but it's not zero. Let's say this goes in, we get to 9.2 or later, and a survey suggests that no one has needed to ever set wal_buffers when deploying 9.1. At that point I think everyone would feel much better considering to nuke it altogether. I just looked at the code again when developing the patch, and there's really not enough benefit to removing it to worry about taking any risk right now. -- 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