Re: Planner configuration

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Cc: "'PostgreSQL General'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Planner configuration
Date: 2004-01-29 20:02:31
Message-ID: 27008.1075406551@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar> writes:
> I was reading the section about Planner Method Configuration, and I just don't
> get why all the options have this message: "This is used for debugging the
> query planner". Are they all debugging options, because they don't look like.

The enable_xxx options are debugging options in the sense that they're
not meant to be used in routine operations. They are intended to make
it possible to experiment with alternative plan choices --- but ideally
you should be able to get the planner to pick a good plan choice of its
own accord. You may need to tweak the cost parameters to reflect your
platform more accurately, or you may need to tune some other settings,
or gather more complete data statistics. If none of this helps it's
grounds for a bug report.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Smith 2004-01-29 20:26:01 Re: SCO Extortion
Previous Message Martin Marques 2004-01-29 19:45:59 Re: Grant question - More