Re: How to make hash indexes fast

Поиск
Список
Период
Сортировка
От Ondrej Ivanič
Тема Re: How to make hash indexes fast
Дата
Msg-id CAM6mieL7nSVvvM8m9qOZNBkHGuDBQf5inMPuMZ-JkWrd_1_Ymg@mail.gmail.com
обсуждение исходный текст
Ответ на How to make hash indexes fast  (Craig James <craig_james@emolecules.com>)
Ответы Re: How to make hash indexes fast  (Claudio Freire <klaussfreire@gmail.com>)
Список pgsql-performance
Hi,

On 19 September 2011 11:14, Craig James <craig_james@emolecules.com> wrote:
> DBsig for a hash-collision chain is always the bitwise OR of every record in
> that hash-collision chain.  When you add a record to the hash table, you do
> a bitwise OR of its signature into the existing DBsig.  If you delete a
> record, you erase DBsig and rebuild it by recomputing the signatures of each
> record in the hash-collision chain and ORing them together again.

Sound like a Bloom filter [1] to me.

BTW, Does Postgres use Bloom filter anywhere?

[1] http://en.wikipedia.org/wiki/Bloom_filter

--
Ondrej Ivanic
(ondrej.ivanic@gmail.com)

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

Предыдущее
От: Craig James
Дата:
Сообщение: How to make hash indexes fast
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: How to make hash indexes fast