Re: What about utility to calculate planner cost constants?

From: Dawid Kuroczko <qnex42(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: What about utility to calculate planner cost constants?
Date: 2005-03-22 09:58:43
Message-ID: 758d5e7f0503220158cec718e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, 21 Mar 2005 14:59:56 -0800, Josh Berkus <josh(at)agliodbs(dot)com> 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message PFC 2005-03-22 10:49:36 Re: best practices with index on varchar column
Previous Message Dawid Kuroczko 2005-03-22 09:49:25 Re: best practices with index on varchar column