Skip to content

Commit 1415a83

Browse files
committed
Update hash warning in manual.
1 parent ebe4375 commit 1415a83

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

doc/src/sgml/indices.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.32 2002/06/21 03:25:53 momjian Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.33 2002/06/21 16:52:00 momjian Exp $ -->
22

33
<chapter id="indexes">
44
<title id="indexes-title">Indexes</title>
@@ -181,9 +181,10 @@ CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable>
181181
</synopsis>
182182
<note>
183183
<para>
184-
Testing has shown that hash indexes are slower than btree indexes,
185-
and the size and build time for hash indexes is much worse. For
186-
these reasons, hash index use is discouraged.
184+
Testing has shown hash indexes to be similar or slower than btree
185+
indexes, and the index size and build time for hash indexes is much
186+
worse. Hash indexes also suffer poor performance under high
187+
concurrency. For these reasons, hash index use is discouraged.
187188
</para>
188189
</note>
189190
</para>

doc/src/sgml/ref/create_index.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_index.sgml,v 1.32 2002/06/21 03:25:53 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_index.sgml,v 1.33 2002/06/21 16:52:00 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -330,9 +330,10 @@ ERROR: Cannot create index: 'index_name' already exists.
330330
the <literal>=</literal> operator.
331331
</para>
332332
<para>
333-
Testing has shown that hash indexes are slower than btree indexes,
334-
and the size and build time for hash indexes is much worse. For
335-
these reasons, hash index use is discouraged.
333+
Testing has shown hash indexes to be similar or slower than btree
334+
indexes, and the index size and build time for hash indexes is much
335+
worse. Hash indexes also suffer poor performance under high
336+
concurrency. For these reasons, hash index use is discouraged.
336337
</para>
337338

338339
<para>

0 commit comments

Comments
 (0)