Re: Hash index use presently(?) discouraged since 2005: revive or bury it? - Mailing list pgsql-performance

From Leonardo Francalanci
Subject Re: Hash index use presently(?) discouraged since 2005: revive or bury it?
Date
Msg-id 1315993407.43414.YahooMailNeo@web29009.mail.ird.yahoo.com
Whole thread Raw
In response to Re: Hash index use presently(?) discouraged since 2005: revive or bury it?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
>>  Hash indexes have been improved since 2005 - their performance was

>>  improved quite a bit in 9.0. Here's a more recent analysis:
>
>>  http://www.depesz.com/index.php/2010/06/28/should-you-use-hash-index/
>
> The big picture though is that we're not going to remove hash indexes,
> even if they're nearly useless in themselves

Well, if they provide 3x the performance of btree indexes on index creation,
I wouldn't call them "useless" just because they're not logged or they can't
be unique. In fact, I think the docs should specify that in index creation
they're actually better than btree (if, in fact, they are and the "depesz" test
is not a corner case).

pgsql-performance by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Hash index use presently(?) discouraged since 2005: revive or bury it?
Next
From: MirrorX
Date:
Subject: Re: cannot use multicolumn index