pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedQuestion about Generating Possible Plans by the planner/optimizer
2+ messages / 2 participants
[nested] [flat]
* Question about Generating Possible Plans by the planner/optimizer
@ 2004-08-07 00:28 sandra ruiz <mileruiz@hotmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: sandra ruiz @ 2004-08-07 00:28 UTC (permalink / raw)
To: pgsql-performance
in the docummentation about the planer it says:
"It first combines all possible ways of scanning and joining the relations
that appear in a query"
I would like to know if there's a time limit to do that or if it just scans
ALL the posibilities until it finishes..no matter the time it takes..
thanks in advance.
_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Question about Generating Possible Plans by the planner/optimizer
@ 2004-08-07 01:11 Steinar H. Gunderson <sgunderson@bigfoot.com>
parent: sandra ruiz <mileruiz@hotmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Steinar H. Gunderson @ 2004-08-07 01:11 UTC (permalink / raw)
To: pgsql-performance
On Fri, Aug 06, 2004 at 07:28:38PM -0500, sandra ruiz wrote:
> in the docummentation about the planer it says:
>
> "It first combines all possible ways of scanning and joining the relations
> that appear in a query"
>
> I would like to know if there's a time limit to do that or if it just scans
> ALL the posibilities until it finishes..no matter the time it takes..
Depends; if you join a lot of tables, it stops doing an exhaustive search and
goes for genetic optimization instead:
http://www.postgresql.org/docs/7.4/static/geqo.html
/* Steinar */
--
Homepage: http://www.sesse.net/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-08-07 01:11 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-08-07 00:28 Question about Generating Possible Plans by the planner/optimizer sandra ruiz <mileruiz@hotmail.com>
2004-08-07 01:11 ` Steinar H. Gunderson <sgunderson@bigfoot.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox