Re: query optimizer

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: query optimizer
Дата
Msg-id 200707191526.46572.fluca1978@infinito.it
обсуждение исходный текст
Ответ на Re: query optimizer  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: query optimizer  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tuesday 17 April 2007 Tom Lane's cat, walking on the keyboard, wrote:
> "jungmin shin" <jungmin.shin@gmail.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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Paul Codler"
Дата:
Сообщение: IN clause performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: memory leakage in libpg?