Commit 1415a838 authored by Bruce Momjian's avatar Bruce Momjian

Update hash warning in manual.

parent ebe4375f
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.32 2002/06/21 03:25:53 momjian Exp $ --> <!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.33 2002/06/21 16:52:00 momjian Exp $ -->
<chapter id="indexes"> <chapter id="indexes">
<title id="indexes-title">Indexes</title> <title id="indexes-title">Indexes</title>
...@@ -181,9 +181,10 @@ CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable> ...@@ -181,9 +181,10 @@ CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable>
</synopsis> </synopsis>
<note> <note>
<para> <para>
Testing has shown that hash indexes are slower than btree indexes, Testing has shown hash indexes to be similar or slower than btree
and the size and build time for hash indexes is much worse. For indexes, and the index size and build time for hash indexes is much
these reasons, hash index use is discouraged. worse. Hash indexes also suffer poor performance under high
concurrency. For these reasons, hash index use is discouraged.
</para> </para>
</note> </note>
</para> </para>
......
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_index.sgml,v 1.32 2002/06/21 03:25:53 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_index.sgml,v 1.33 2002/06/21 16:52:00 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -330,9 +330,10 @@ ERROR: Cannot create index: 'index_name' already exists. ...@@ -330,9 +330,10 @@ ERROR: Cannot create index: 'index_name' already exists.
the <literal>=</literal> operator. the <literal>=</literal> operator.
</para> </para>
<para> <para>
Testing has shown that hash indexes are slower than btree indexes, Testing has shown hash indexes to be similar or slower than btree
and the size and build time for hash indexes is much worse. For indexes, and the index size and build time for hash indexes is much
these reasons, hash index use is discouraged. worse. Hash indexes also suffer poor performance under high
concurrency. For these reasons, hash index use is discouraged.
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment