Planner configuration

Started by Martín Marquésabout 22 years ago2 messagesgeneral
Jump to latest
#1Martín Marqués
martin@bugs.unl.edu.ar

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.

http://www.postgresql.org/docs/current/interactive/
-> runtime-config.html#RUNTIME-CONFIG-QUERY

--
15:45:02 up 64 days, 22:01, 2 users, load average: 1.49, 1.32, 0.85
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Martín Marqués (#1)
Re: Planner configuration

Martin Marques <martin@bugs.unl.edu.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