Re: LIMIT and UNION ALL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LIMIT and UNION ALL
Дата
Msg-id 25771.1306429243@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LIMIT and UNION ALL  (Dave Johansen <davejohansen@gmail.com>)
Список pgsql-performance
Dave Johansen <davejohansen@gmail.com> writes:
> ...  So is there a way to make the
> planner perform the same sort of operation and push those same constraints
> into the sub-queries on its own?

No.  As was mentioned upthread, there is a solution for this in 9.1,
although it doesn't work in exactly the way you suggest.

            regards, tom lane

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

Предыдущее
От: Dave Johansen
Дата:
Сообщение: Re: LIMIT and UNION ALL
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Hash Anti Join performance degradation