Re: BUG #6426: Complex query runs 10 times longer with "LIMIT 20"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6426: Complex query runs 10 times longer with "LIMIT 20"
Дата
Msg-id 25499.1328200832@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #6426: Complex query runs 10 times longer with "LIMIT 20"  (Andrew Schetinin <aschetinin@gmail.com>)
Список pgsql-bugs
Andrew Schetinin <aschetinin@gmail.com> writes:
> Previously I always thought that the order of JOINs or conditions in WHERE
> is irrelevant, and query optimizer rearranges the order according to its
> logic. Now it appears that sometimes it may be important.

If you have more than join_collapse_limit JOINs in the query, the order
can matter.

            regards, tom lane

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

Предыдущее
От: "Bousche, Olaf"
Дата:
Сообщение: Re: BUG #6424: Possible error in time to seconds conversion
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6407: Crash on queries to gin index with multiply values