From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Elielson Fontanezi <ElielsonF(at)prodam(dot)sp(dot)gov(dot)br> |
Cc: | "'Daryl Herzmann'" <akrherz(at)iastate(dot)edu>, pgsql-sql <pgsql-sql(at)postgresql(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: RES: RES: [SQL] Queries not using Index |
Date: | 2002-07-24 18:20:40 |
Message-ID: | 12808.1027534840@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
Elielson Fontanezi <ElielsonF(at)prodam(dot)sp(dot)gov(dot)br> writes:
> Hum... What such thing strange.
> Hash algorithms should be better than BTREE and RTREE algorithms.
Perhaps. The problem with Postgres' hash indexes is that no one has
worked on the hash-index code since Berkeley days (except for one or
two minor bugfixes, I think). The btree code has gotten a lot more
care and attention, so it is now much better than the hash code.
I'm not sure whether it's really worth anyone's time to try to
bring the hash index code up to speed. It *might* be better
than btree for certain limited applications, if it were equally
well implemented. Or it might not. You'd have to invest a lot
of work to find out, and might well discover that your work
was wasted.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2002-07-24 18:40:19 | Re: copy |
Previous Message | viksa verma | 2002-07-24 18:18:11 | copy |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2002-07-24 18:24:12 | Re: Problem with my query whithout double-quotes |
Previous Message | Chris Ruprecht | 2002-07-24 17:56:50 | Re: Last record |