Re: union all and filter / index scan -> seq scan

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: union all and filter / index scan -> seq scan
Дата
Msg-id 27276.1432222096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на union all and filter / index scan -> seq scan  (Florian Lohoff <f@zz.de>)
Список pgsql-performance
Florian Lohoff <f@zz.de> writes:
> It seems the planner is not able to rewrite a union all

I do not see any problems with pushing indexable conditions down through a
UNION ALL when I try it.  I speculate that either you are using a very old
9.1.x minor release, or the actual view is more complex than you've let on.

            regards, tom lane


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

Предыдущее
От: Vitalii Tymchyshyn
Дата:
Сообщение: Re: union all and filter / index scan -> seq scan
Следующее
От: Bosco Rama
Дата:
Сообщение: Re: Fastest way / best practice to calculate "next birthdays"