Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id F30312E003A for ; Fri, 6 Jun 2008 18:07:05 -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 96527-05 for ; Fri, 6 Jun 2008 18:06:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp106.biz.mail.mud.yahoo.com (smtp106.biz.mail.mud.yahoo.com [68.142.200.254]) by developer.postgresql.org (Postfix) with SMTP id 9E4202E0038 for ; Fri, 6 Jun 2008 18:07:02 -0300 (ADT) Received: (qmail 22519 invoked from network); 6 Jun 2008 21:07:01 -0000 Received: from unknown (HELO ?192.168.5.105?) (ramayer@forensiclogic.com@76.201.143.72 with plain) by smtp106.biz.mail.mud.yahoo.com with SMTP; 6 Jun 2008 21:07:00 -0000 X-YMail-OSG: aMF268cVM1nIeTTCCNIcdsSuNB3jUJUEysg0YrURAN0fojorK1ymQM7rJACAmqVgxAils7kLUv4M8PMELD7WVQOZojIkexGFT3.9C50TlmlHWnh9Gwp9wcmyZoDNtt80JIc- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4849A6F3.8010800@cheapcomplexdevices.com> Date: Fri, 06 Jun 2008 14:06:59 -0700 From: Ron Mayer User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509) MIME-Version: 1.0 To: "Joshua D. Drake" CC: Tom Lane , Peter Eisentraut , pgsql-hackers@postgresql.org, Greg Smith , Andreas Pflug , "Decibel!" , Josh Berkus Subject: Re: Overhauling GUCS References: <48409D1E.3070208@agliodbs.com> <29525.1212613052@sss.pgh.pa.us> <200806061435.01196.peter_e@gmx.net> <1669.1212765410@sss.pgh.pa.us> <4849598F.9080800@commandprompt.com> In-Reply-To: <4849598F.9080800@commandprompt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 200806/323 X-Sequence-Number: 119436 Joshua D. Drake wrote: > Tom Lane wrote: >> Peter Eisentraut writes: >>> - If we know better values, why don't we set them by default? >> >> The problem is: better for what? > > That is where some 80% solution sample config files come in. +1. At work I use 3 templates. * One for salespeople's demo laptops. * One for a developer's desktop. * One for our bigger production servers. The old old default postgresql.conf used to be nice for the first group. The newer set of defaults is nicer for the second group. Emailing the lists here's the current best way of tuning for that last case. I wonder if the fastest way to generate the configurator would be to simply ask everyone to post their tuned postgresql.conf files along with a brief description of the use case for that file. The we could group the use-cases into various classes; and average the values of the submitted files. Then the configurator's one question "choose which use case most closely matches yours from this list".