X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id E573630DFC7 for ; Wed, 18 Jun 2003 19:27:37 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 07619-06 for ; Wed, 18 Jun 2003 16:27:22 -0300 (ADT) Received: from biscay.ymogen.com (host-66-6-164-194.pobox.net.uk [194.164.6.66]) by svr1.postgresql.org (Postfix) with SMTP id 47DF430DFDD for ; Wed, 18 Jun 2003 16:27:21 -0300 (ADT) Received: (qmail 25884 invoked from network); 18 Jun 2003 19:27:20 -0000 Received: from unknown (HELO dsl-217-155-239-50.zen.co.uk) (217.155.239.50) by 0 with SMTP; 18 Jun 2003 19:27:20 -0000 Subject: Re: PostgreSQL calibration From: matt To: "scott.marlowe" Cc: pgsql-admin@postgresql.org In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1055964431.3900.57.camel@gibraltar.mattclark.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 18 Jun 2003 20:27:12 +0100 Content-Transfer-Encoding: 7bit X-Archive-Number: 200306/243 X-Sequence-Number: 9234 Precisely. Any hints from the real gurus out there as to how that might be accomplished (or alternatively, reasons why it's hopeless)? On Wed, 2003-06-18 at 18:42, scott.marlowe wrote: > It would be nice to have something that could suggest settings for the > different *cost* options. > > On 18 Jun 2003, matt wrote: > > > Are there really any performance settings of much interest beyond the > > shared and non-shared memory settings? Beyond those the interactions > > get so complex that automation is probably impossible anyway, and > > certain options like fsync = false should never be 'recommended'. > > > > On the other hand, a way of empirically deriving some 'correct' > > optimizer parameters for a given machine would be very nice :-) > > > > > > Matt > > > > > > On Wed, 2003-06-18 at 18:07, Tom Lane wrote: > > > Bruce Momjian writes: > > > > Sure, it would be great if we could do it. > > > > > > If the program actually derives reliable numbers, it would be great. > > > It could easily do more harm than good if it gives bogus results. > > > I think it will be very hard to get reliable rather than bogus results > > > :-( ... but feel free to try. > > > > > > regards, tom lane > > > > > > ---------------------------(end of broadcast)--------------------------- > > > TIP 6: Have you searched our list archives? > > > > > > http://archives.postgresql.org > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 9: the planner will ignore your desire to choose an index scan if your > > joining column's datatypes do not match > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend >