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

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: "Hash index" vs. "b-tree index" (PostgreSQL 8.0)
Дата
Msg-id 427F757A.8000407@samurai.com
обсуждение исходный текст
Ответ на "Hash index" vs. "b-tree index" (PostgreSQL 8.0)  (Ying Lu <ying_lu@cs.concordia.ca>)
Ответы Re: [PERFORM] "Hash index" vs. "b-tree index" (PostgreSQL 8.0)  (Christopher Petrilli <petrilli@gmail.com>)
Список pgsql-general
Ying Lu wrote:
> May I know for simple "=" operation query, for "Hash index" vs. "B-tree"
> index, which can provide better performance please?

I don't think we've found a case in which the hash index code
outperforms B+-tree indexes, even for "=". The hash index code also has
a number of additional issues: for example, it isn't WAL safe, it has
relatively poor concurrency, and creating a hash index is significantly
slower than creating a b+-tree index.

-Neil

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

Предыдущее
От: "ALÝ ÇELÝK"
Дата:
Сообщение: Re: diff value retuns, debug mode and play mode
Следующее
От: Abdul-Wahid Paterson
Дата:
Сообщение: need trigger help