Re: GROUP BY vs DISTINCT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GROUP BY vs DISTINCT
Дата
Msg-id 22279.1166628998@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GROUP BY vs DISTINCT  ("Peter Childs" <peterachilds@gmail.com>)
Список pgsql-performance
"Peter Childs" <peterachilds@gmail.com> writes:
> Is it actually in the sql spec to sort in a distinct

No.  PG's code that supports GROUP BY is newer and smarter than the code
that supports DISTINCT, is all.  One of the things on the to-do list is
to revise DISTINCT so it can also consider hash-based implementations.
The hard part of that is not to break DISTINCT ON ...

            regards, tom lane

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

Предыдущее
От: CARMODA
Дата:
Сообщение: Question: Clustering & Load Balancing
Следующее
От: Michal Taborsky - Internet Mall
Дата:
Сообщение: Re: Question: Clustering & Load Balancing