Re: [HACKERS] note on hash indexes

2009-02-07 Thread Bruce Momjian
Kenneth Marshall wrote: I had submitted the documentation change as part of my hash function patch but it was removed as not relevant. (It wasn't really.) I would basically remove the first sentence: Note: Hash index operations are not presently WAL-logged, so hash indexes might

[HACKERS] note on hash indexes

2009-02-04 Thread Alvaro Herrera
Hi, indices.sgml contains this paragraph about hash indexes: Note: Testing has shown PostgreSQL's hash indexes to perform no better than B-tree indexes, and the index size and build time for hash indexes is much worse. Furthermore, hash index operations are not presently WAL-logged, so

Re: [HACKERS] note on hash indexes

2009-02-04 Thread Kenneth Marshall
I had submitted the documentation change as part of my hash function patch but it was removed as not relevant. (It wasn't really.) I would basically remove the first sentence: Note: Hash index operations are not presently WAL-logged, so hash indexes might need to be rebuilt with REINDEX

Re: [HACKERS] note on hash indexes

2009-02-04 Thread Zdenek Kotala
The main speed improvement is for varchar datatype. I think It should be mention here as well. IIRC, times are similar with B-Tree for integer datatype. Zdenek Kenneth Marshall píše v st 04. 02. 2009 v 13:57 -0600: I had submitted the documentation change as part of my hash function

Re: [HACKERS] note on hash indexes

2009-02-04 Thread Kenneth Marshall
On Wed, Feb 04, 2009 at 11:22:44PM +0100, Zdenek Kotala wrote: The main speed improvement is for varchar datatype. I think It should be mention here as well. IIRC, times are similar with B-Tree for integer datatype. Zdenek Kenneth Marshall pe v st 04. 02. 2009 v 13:57 -0600: I