Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B08F19FBC46 for ; Mon, 30 Apr 2007 13:19:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 40938-02-9 for ; Mon, 30 Apr 2007 13:19:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.emolecules.com (66-226-76-106.dedicated.abac.net [66.226.76.106]) by postgresql.org (Postfix) with ESMTP id 660529FC4AC for ; Mon, 30 Apr 2007 13:10:03 -0300 (ADT) Received: (qmail 28089 invoked by uid 2020); 30 Apr 2007 09:10:01 -0700 Received: from wsip-70-167-125-69.sd.sd.cox.net (HELO ?192.168.0.3?) (70.167.125.69) by 192.168.0.4 with SMTP; 30 Apr 2007 09:10:01 -0700 Message-ID: <463616EB.3040800@modgraph-usa.com> Date: Mon, 30 Apr 2007 09:18:51 -0700 From: "Craig A. James" User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Greg Smith CC: pgsql-performance@postgresql.org Subject: Re: Feature Request --- was: PostgreSQL Performance Tuning References: <20070427143023.GA2422@mathom.us> <46323744.5020703@drivefaster.net> <200704271059.50265.josh@agliodbs.com> In-Reply-To: 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.852 tagged_above=0 required=5 tests=AWL=0.716, BAYES_50=0.001, FORGED_RCVD_HELO=0.135 X-Spam-Level: X-Archive-Number: 200704/508 X-Sequence-Number: 24385 Greg Smith wrote: > If you're going to the trouble of building a tool for offering > configuration advice, it can be widly more effective if you look inside > the database after it's got data in it, and preferably after it's been > running under load for a while, and make your recommendations based on > all that information. There are two completely different problems that are getting mixed together in this discussion. Several people have tried to distinguish them, but let's be explicit: 1. Generating a resonable starting configuration for neophyte users who have installed Postgres for the first time. 2. Generating an optimal configuration for a complex, running system that's loaded with data. The first problem is easy: Any improvement would be welcome and would give most users a better initial experience. The second problem is nearly impossible. Forget the second problem (or put it on the "let's find someone doing a PhD project" list), and focus on the first.