X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D0A0F11F6260 for ; Tue, 25 Apr 2006 12:09:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 29919-04-2 for ; Tue, 25 Apr 2006 12:09:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 626C511F622B for ; Tue, 25 Apr 2006 12:09:12 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 8912D56408; Tue, 25 Apr 2006 10:09:11 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Tue, 25 Apr 2006 10:09:11 -0500 Date: Tue, 25 Apr 2006 10:09:10 -0500 From: "Jim C. Nasby" To: "Jonah H. Harris" Cc: "Bort, Paul" , Pgsql Hackers Subject: Re: Google SoC--Idea Request Message-ID: <20060425150910.GF97354@pervasive.com> References: <36e682920604250539s4fe1cfb1tc63b2b34833f33aa@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36e682920604250539s4fe1cfb1tc63b2b34833f33aa@mail.gmail.com> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060425:jonah.harris@gmail.com::fzHlxmBh0iM7EFk2:000000000000000 0000000000000000000000000zHv X-Hashcash: 1:20:060425:pbort@tmwsystems.com::vZscL75oA0E2LHYZ:00000000000000000 0000000000000000000000000fJO X-Hashcash: 1:20:060425:pgsql-hackers@postgresql.org::JN23jHnkJV7YJy5C:000000000 00000000000000000000000024gI X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/932 X-Sequence-Number: 82655 On Tue, Apr 25, 2006 at 08:39:57AM -0400, Jonah H. Harris wrote: > On 4/25/06, Bort, Paul wrote: > > Maybe the SoC project here is just such a tuning advisor tool? Something > > that can run pgbench repeatedly, try different settings, and compare > > results. > > IIRC, that already exists. I think it was called pg_autotune or > something similar. Last time I tried autotune I couldn't get it to work on FreeBSD, and it tuned a minimum of parameters. For example, it didn't touch checkpoint_segments, which is pretty essential to tune on a higher-end server. Not saying it wouldn't be a good place to start, but I also don't think it's a replacement for a built-in tuning tool. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461