Re: "Hash index" vs. "b-tree index" (PostgreSQL 8.0)

Поиск
Список
Период
Сортировка
От David Roussel
Тема Re: "Hash index" vs. "b-tree index" (PostgreSQL 8.0)
Дата
Msg-id 6f6c081fabe7002128433e3b99b09e50@diroussel.xsmail.com
обсуждение исходный текст
Ответ на "Hash index" vs. "b-tree index" (PostgreSQL 8.0)  (Ying Lu <ying_lu@cs.concordia.ca>)
Список pgsql-performance
> *Note: * Testing has shown PostgreSQL's hash indexes to perform no
> better than B-tree indexes, and the index size and build time for hash
> indexes is much worse. For these reasons, hash index use is presently
> discouraged.
>
> May I know for simple "=" operation query, for "Hash index" vs.
> "B-tree" index, which can provide better performance please?

If you trust the documentation use a b-tree.  If you don't trust the
documentation do your own tests.

please don't cross post.


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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: PGSQL Capacity
Следующее
От: Neil Conway
Дата:
Сообщение: Re: [GENERAL] "Hash index" vs. "b-tree index" (PostgreSQL