Search Postgresql Archives

Re: "Hash index" vs. "b-tree index" (PostgreSQL 8.0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ying Lu wrote:
May I know for simple "=" operation query, for "Hash index" vs. "B-tree" index, which can provide better performance please?

I don't think we've found a case in which the hash index code outperforms B+-tree indexes, even for "=". The hash index code also has a number of additional issues: for example, it isn't WAL safe, it has relatively poor concurrency, and creating a hash index is significantly slower than creating a b+-tree index.


-Neil

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux