Re: What is wrong with hashed index usage?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What is wrong with hashed index usage?
Дата
Msg-id 19635.1024670840@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What is wrong with hashed index usage?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: What is wrong with hashed index usage?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, which part of is "demonstrably false"?  I think the old "should
> generally be preferred" is too vague.  No one has come up with a case
> where hash has shown to be faster, and a lot of cases where it is slower.

The only thing I recall being lots worse is initial index build.

I have not tested it much, but I would expect that hash holds up better
in the presence of many equal keys than btree does...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Index Scans become Seq Scans after VACUUM ANALYSE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ADTs and embedded sql