Re: Next Steps with Hash Indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Next Steps with Hash Indexes
Дата
Msg-id 3970993.1628692204@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Next Steps with Hash Indexes  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Next Steps with Hash Indexes  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I suspect it would be hard to store multiple hash values, one per
> column. It seems to me that what we ought to do is combine the hash
> values for the individual columns using hash_combine(64) and store the
> combined value. I can't really imagine why we would NOT do that.

That would make it impossible to use the index except with queries
that provide equality conditions on all the index columns.  Maybe
that's fine, but it seems less flexible than other possible definitions.
It really makes me wonder why anyone would bother with a multicol
hash index.

            regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Next Steps with Hash Indexes
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: DROP relation IF EXISTS Docs and Tests - Bug Fix