Re: Next Steps with Hash Indexes

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Next Steps with Hash Indexes
Дата
Msg-id CAH2-WznD+m-=E4AyzD6R7iA3xd3KiDsbDk9CWu1Le2xgkA2R7w@mail.gmail.com
обсуждение исходный текст
Ответ на Next Steps with Hash Indexes  (Simon Riggs <simon.riggs@enterprisedb.com>)
Список pgsql-hackers
On Thu, Jul 15, 2021 at 9:41 AM Simon Riggs
<simon.riggs@enterprisedb.com> wrote:
> It would be very desirable to allow Hash Indexes to become Primary Key
> Indexes, which requires both
>   amroutine->amcanunique = true;
>   amroutine->amcanmulticol = true;

Why do you say that? I don't think it's self-evident that it's desirable.

In general I don't think that hash indexes are all that compelling
compared to B-Trees. In practice the flexibility of B-Trees tends to
win out, even if B-Trees are slightly slower than hash indexes with
certain kinds of benchmarks that are heavy on point lookups and have
no locality.

I have no reason to object to any of this, and I don't object. I'm just asking.

-- 
Peter Geoghegan



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Quirk of pg_temp schemas ...
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] test/ssl: rework the sslfiles Makefile target