Re: UNION and bad performance

Поиск
Список
Период
Сортировка
От pasman pasmański
Тема Re: UNION and bad performance
Дата
Msg-id AANLkTikoRUG9qJv0wZVq-n_RKDX0kOqve3PTKjPwc_MZ@mail.gmail.com
обсуждение исходный текст
Ответ на UNION and bad performance  (Olivier Pala <olivier.pala@xgs-france.com>)
Ответы Re: UNION and bad performance  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-performance
> UNION will remove all duplicates, so that the result additionally requires to
> be sorted.

>Right, to avoid the SORT and UNIQUE - operation you can use UNION ALL


by the way maybe apply hashing to calculate UNION be better ?


------------
pasman

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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: UNION and bad performance
Следующее
От: Robert Haas
Дата:
Сообщение: Re: SELECT INTO large FKyed table is slow