agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Paul M. Aoki <[email protected]>
To: V.Grabner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Subject: Re: hash indices
Date: Tue, 05 Mar 96 15:46:19 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

"V.Grabner" <[email protected]> writes:
> We had the same problem when using hash indices. Hash indices
> alsways crashed the database when creating an index or inserting 
> > 50 rows into the table.
> 
> Do not use them, use btree indices instead.
> 
> I tried to trace the problem but I did not find it. I found
> out it always happend during the split of an hash page but I
> never found out why. Without documentation I was lost.

the hash index split code is really, really broken in 4.2.  it doesn't
surface until you hit some fill factor (i.e., get a bunch of page
collisions), but after that the hash index is corrupt.  i think the
fixes (bug fixes, taking out the bogus "high concurrency" locking,
rewriting the split code) made it into some release of pg95 or
another..
--
  Paul M. Aoki          |  University of California at Berkeley
  [email protected]  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "[email protected]".
   If this fails, send mail to "[email protected]" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: hash indices
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox