Re: Group by more efficient than distinct?

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Group by more efficient than distinct?
Дата
Msg-id cone.1208704536.428347.85914.1000@zoraida.natserv.net
обсуждение исходный текст
Ответ на Group by more efficient than distinct?  (Francisco Reyes <lists@stringsutils.com>)
Ответы Re: Group by more efficient than distinct?
Список pgsql-performance
PFC writes:

>- If you process up to some percentage of your RAM worth of data, hashing
> is going to be a lot faster

Thanks for the excellent breakdown and explanation. I will try and get sizes
of the tables in question and how much memory the machines have.

>     - If you need DISTINCT ON, well, you're stuck with the Sort
>     - So, for the time being, you can replace DISTINCT with GROUP BY...

Have seen a few of those already on some code (new job..) so for those it is
a matter of having a good disk subsystem?

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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Re: Group by more efficient than distinct?
Следующее
От: dforums
Дата:
Сообщение: Vacuum settings