Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B83D29FB657 for ; Fri, 27 Apr 2007 12:32:13 -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 76379-09 for ; Fri, 27 Apr 2007 12:32:04 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by postgresql.org (Postfix) with ESMTP id A65989FC02C for ; Fri, 27 Apr 2007 12:32:10 -0300 (ADT) Received: from osgiliath.mathom.us ([72.66.0.236]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JH500ETRXTHJ2GJ@vms042.mailsrvcs.net> for pgsql-performance@postgresql.org; Fri, 27 Apr 2007 10:32:05 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by osgiliath.mathom.us (Postfix) with ESMTP id 9F7F52764D; Fri, 27 Apr 2007 11:32:01 -0400 (EDT) Received: from osgiliath.mathom.us ([127.0.0.1]) by localhost (osgiliath.home.mathom.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id APeJoTvHCzmx; Fri, 27 Apr 2007 11:30:38 -0400 (EDT) Received: by osgiliath.mathom.us (Postfix, from userid 1000) id 923AC1F81C; Fri, 27 Apr 2007 11:30:35 -0400 (EDT) Date: Fri, 27 Apr 2007 11:30:33 -0400 From: Michael Stone Subject: Re: Feature Request --- was: PostgreSQL Performance Tuning In-reply-to: <1177684612.20922.154.camel@archimedes> To: Mark Lewis Cc: pgsql-performance@postgresql.org Mail-followup-to: Mark Lewis , pgsql-performance@postgresql.org Message-id: <20070427153029.GB2422@mathom.us> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline X-Virus-Scanned: Debian amavisd-new at mathom.us X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88 References: <46310247.2050802@pinpointresearch.com> <463158DD.3060602@mochima.com> <2679.1177642153@sss.pgh.pa.us> <4631FA55.4010406@mochima.com> <20070427143023.GA2422@mathom.us> <1177684612.20922.154.camel@archimedes> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/470 X-Sequence-Number: 24347 On Fri, Apr 27, 2007 at 07:36:52AM -0700, Mark Lewis wrote: >Maybe he's looking for a switch for initdb that would make it >interactive and quiz you about your expected usage-- sort of a magic >auto-configurator wizard doohicky? I could see that sort of thing being >nice for the casual user or newbie who otherwise would have a horribly >mis-tuned database. They could instead have only a marginally mis-tuned >database :) However you implement it, anyone who can answer all of those questions is probably capable of reading and understanding the performance section in the manual. It's probably more practical to have a seperate script that looks at the running system (ram, disks, pg config, db size, indices, stats, etc.) and makes suggestions--if someone wants to write such a thing. Mike Stone