Re: BUG #1878: Different execution plans for the same query.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1878: Different execution plans for the same query.
Дата
Msg-id 19095.1126587052@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1878: Different execution plans for the same query.  ("Alexei" <alexei_novakov@yahoo.com>)
Список pgsql-bugs
"Alexei" <alexei_novakov@yahoo.com> writes:
> .... Although the result
> of the query always was correct whichever plan it's using. I repete - I did
> not do anything between queries, but just ran the same 'explain select ...'
> sequentially. The query itself is heavy, but pretty strightforward - 2
> tables joined 12 times.

With 12 tables you'll be using the geqo optimizer by default, and it has
a random component to the plans by design.  It's a bit disappointing
that it doesn't consistently find plans of about the same quality
though.  Can you provide a complete test case?  (No, the bare text of
a query isn't a test case...)

            regards, tom lane

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

Предыдущее
От: Chris Travers
Дата:
Сообщение: Re: could help me?
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: BUG #1871: operations with data types