Re: Hash Indexes

Поиск
Список
Период
Сортировка
От Oskari Saarenmaa
Тема Re: Hash Indexes
Дата
Msg-id 0d6da21f-7d1c-0eda-5ed8-6157aab98367@ohmu.fi
обсуждение исходный текст
Ответ на Re: Hash Indexes  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Hash Indexes  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
21.09.2016, 15:29, Robert Haas kirjoitti:
> For PostgreSQL, I expect the benefits of improving hash indexes to be
> (1) slightly better raw performance for equality comparisons and (2)
> better concurrency.

There's a third benefit: with large columns a hash index is a lot 
smaller on disk than a btree index.  This is the biggest reason I've 
seen people want to use hash indexes instead of btrees.  hashtext() 
btrees are a workaround, but they require all queries to be adjusted 
which is a pain.

/ Oskari



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_ctl promote wait
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Parallel tuplesort (for parallel B-Tree index creation)