Status of DISTINCT-by-hashing work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Status of DISTINCT-by-hashing work
Дата
Msg-id 5567.1217947885@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Status of DISTINCT-by-hashing work  ("Asko Oja" <ascoja@gmail.com>)
Re: Status of DISTINCT-by-hashing work  (Gregory Stark <stark@enterprisedb.com>)
Re: Status of DISTINCT-by-hashing work  (Hans-Juergen Schoenig <postgres@cybertec.at>)
Список pgsql-hackers
I've pretty much finished the project I got a bee in my bonnet about
last week, which is to teach SELECT DISTINCT how to (optionally) use
hashing for grouping in the same way that GROUP BY has been able to do
for awhile.

There are still two places in the system that hard-wire the use of
sorting for duplicate elimination:

* Set operations (UNION/INTERSECT/EXCEPT)

* Aggregate functions with DISTINCT

I'm thinking of trying to fix set operations before I leave this topic,
but I'm not sure it's worth the trouble to change DISTINCT aggregates.
They'd be a lot more work (since there's no executor infrastructure
in place that could be used) and the return on investment seems low.

Comments?
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Parsing of pg_hba.conf and authentication inconsistencies
Следующее
От: "Marko Kreen"
Дата:
Сообщение: Re: plan invalidation vs stored procedures