Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id E9D192E00BA for ; Sat, 31 May 2008 14:51:46 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 11840-09 for ; Sat, 31 May 2008 14:51:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.kineticode.com (host-201.commandprompt.net [207.173.203.201]) by developer.postgresql.org (Postfix) with ESMTP id 9072C2E00AD for ; Sat, 31 May 2008 14:51:43 -0300 (ADT) Received: from [192.168.1.104] (c-24-21-175-208.hsd1.or.comcast.net [24.21.175.208]) by smtp.kineticode.com (Postfix) with ESMTPSA id 576D15081C1; Sat, 31 May 2008 10:46:06 -0700 (PDT) Cc: Josh Berkus , pgsql-hackers@postgresql.org Message-Id: From: "David E. Wheeler" To: Tom Lane In-Reply-To: <16866.1212251015@sss.pgh.pa.us> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Subject: Re: Overhauling GUCS Date: Sat, 31 May 2008 10:51:41 -0700 References: <48409D1E.3070208@agliodbs.com> <16866.1212251015@sss.pgh.pa.us> X-Mailer: Apple Mail (2.924) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/1099 X-Sequence-Number: 119098 On May 31, 2008, at 09:23, Tom Lane wrote: >> 1. Most people have no idea how to set these. >> 2. The current postgresql.conf file is a huge mess of 194 options, >> the >> vast majority of which most users will never touch. >> 3. GUCS lists are kept in 3 different places (guc.c, postgresql.conf, >> and the settings.sgml), which are only synched with each other >> manually. >> 4. We don't seem to be getting any closer to autotuning. > > The proposal doesn't actually solve any of those problems. It solves #2 at least. > I disagree with doing any of this. It doesn't result in any useful > reduction in maintenance effort, and what it does do is make it > impossible to keep control over the detailed layout, formatting, > commenting etc in a sample postgresql.conf. Nor do I think that > "generate a whole config file from scratch" is going to be a useful > behavior for tuning problems --- how will you merge it with what > you had before? I'd love to see these issues resolved. The current postgresql.conf is way over the top. Might you have a better idea? Thanks, David