Re: query optimizer

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: query optimizer
Date: 2007-07-19 13:26:46
Message-ID: 200707191526.46572.fluca1978@infinito.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 17 April 2007 Tom Lane's cat, walking on the keyboard, wrote:
> "jungmin shin" <jungmin(dot)shin(at)gmail(dot)com> writes:
> > As I see the documentation of postgres, postgres use genetic algorithm
> > for query optimization rather than system R optimizer. right?
>
> Only for queries with more than geqo_threshold relations. The join
> search algorithm for smaller queries is a System-R-like dynamic
> programming method.
>

Hi,
I'd like to better understand how the optimizer works and is implemented. Is
there any available documentation (before start reading the source!) to
understand concepts about geqo and system r? Any chance about any demo or
presentation with detailed examples (about how the optimizer makes and
discards choices, not about how to read the planner output)?

Thanks,
Luca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-07-19 14:13:47 Re: memory leakage in libpg?
Previous Message Paul Codler 2007-07-19 12:52:30 IN clause performance