X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7EA7E563C0 for ; Tue, 22 Mar 2005 09:58:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45291-03 for ; Tue, 22 Mar 2005 09:58:41 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by svr1.postgresql.org (Postfix) with ESMTP id 9DC4D52A62 for ; Tue, 22 Mar 2005 09:58:40 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id y7so1231152rne for ; Tue, 22 Mar 2005 01:58:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=NtjMmC2fnW6Ds+fRaQ3/iZfiQSHDvFBynauuq9ioXgzeeI6Uh/XmPO0Cj6sSWyo5sSnFMjcmhOGxFSp9rWhshOLce4oMsb4LpJqjpwi84cWquZMSfr2RZQXMPJBKzOyRg6mJsNg0Nh6acyA3dc3w0Clc7eDefyx1IG2ELPPOlgU= Received: by 10.38.99.16 with SMTP id w16mr6157662rnb; Tue, 22 Mar 2005 01:58:43 -0800 (PST) Received: by 10.38.101.75 with HTTP; Tue, 22 Mar 2005 01:58:43 -0800 (PST) Message-ID: <758d5e7f0503220158cec718e@mail.gmail.com> Date: Tue, 22 Mar 2005 10:58:43 +0100 From: Dawid Kuroczko Reply-To: Dawid Kuroczko To: pgsql-performance@postgresql.org Subject: Re: What about utility to calculate planner cost constants? In-Reply-To: <200503211459.56243.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <200503210951.06044.josh@agliodbs.com> <11322edfb476c82809712b9796f78a5f@sitening.com> <200503211459.56243.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.741 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, FROM_ENDS_IN_NUMS, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200503/431 X-Sequence-Number: 11136 On Mon, 21 Mar 2005 14:59:56 -0800, Josh Berkus wrote: > > If by not practical you mean, "no one has implemented a multivariable > > testing approach," I'll agree with you. But multivariable testing is > > definitely a valid statistical approach to solving just such problems. > Well, not practical as in: "would take either $10 million in equipment or > 10,000 hours or both" I think you don't need EXPLAIN ANALYZE each query with different GUCs, you would only need EXPLAIN most of the times (which is way quicker). Once you get 'near' actual values, you would do EXECUTE ANALYZE to verify the variables. Regards, Dawid