Re: slow UNIONing

Поиск
Список
Период
Сортировка
От Kovacs Zoltan
Тема Re: slow UNIONing
Дата
Msg-id Pine.LNX.4.21.0109210850090.8015-100000@pc10.radnoti-szeged.sulinet.hu
обсуждение исходный текст
Ответ на Re: slow UNIONing  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Список pgsql-hackers
> > For me it seems to be slow due to the sorting. Is this right?
> > Is this normal at all? Is it possible to make it faster?
> 
> If you know, that your result does not produce duplicates
> (which are filtered away with "union") you can use a 
> "union all" which should be substantially faster, since it does 
> not need to sort.

Thank you to all who helped. I knew nothing about UNION ALL, but now it's
OK. Regards, Zoltan



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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: PostgreSQL funding/organization
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Multibyte regression tests broken?