Re: todo: Hash index creation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: todo: Hash index creation
Date
Msg-id 20662.1183344247@sss.pgh.pa.us
Whole thread Raw
In response to Re: todo: Hash index creation  (Naz Gassiep <naz@mira.net>)
Responses Re: todo: Hash index creation  (Naz Gassiep <naz@mira.net>)
List pgsql-hackers
Naz Gassiep <naz@mira.net> writes:
> As a result, when creating tables containing large blocks of text I wish
> to index, I've been using HASH as an index method. Please can we state
> in the manual that HASH index types are in a beta stage of development
> or something similar, or perhaps remove the manual entry altogether
> until HASH is at a point where it is usable in production.

Uh, the manual already does say
   Note: Testing has shown PostgreSQL's hash indexes to perform no better   than B-tree indexes, and the index size and
buildtime for hash indexes   is much worse. Furthermore, hash index operations are not presently   WAL-logged, so hash
indexesmight need to be rebuilt with REINDEX after   a database crash. For these reasons, hash index use is presently
discouraged.

under 11.2 Index Types, as well as various derogatory remarks elsewhere.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Naz Gassiep
Date:
Subject: Re: todo: Hash index creation
Next
From: "Pavel Stehule"
Date:
Subject: Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL