PostgreSQL has hash indexes, very similar to Oracle bitmap indexes.
Oracle warns the application designers against using them in the OLTP
applications because of the locking. Namely, locking a row would lock
the rows which hash to the same hash value as the original row.
My question is whether the same thing applies to the PostgreSQL hash
indexes? In the documentation page, I found the following:
CREATE INDEX name ON table USING hash (column);
Note: Hash index operations are not presently WAL-logged, so hash
indexes might need to be rebuilt with REINDEX after a database crash.
this reason, hash index use is presently discouraged.
My question is whether someone here has played with the hash indexes?
words of caution or blissful experiences? Thanks.
Sr. Oracle DBA
New York, NY 10036
The Leader in Integrated Media
pgsql-novice by date
|Next:||From: Richard Broersma||Date: 2009-12-15 21:02:11|
|Subject: Re: Hash indexes|
|Previous:||From: Jean-Yves F. Barbier||Date: 2009-12-14 18:01:46|
|Subject: UTC timestamp|