Received: from toto.mat.cc (IDENT:postfix@toto.mat.cc [212.43.217.25]) by hub.org (8.10.1/8.10.1) with ESMTP id e85EqcB54244 for ; Tue, 5 Sep 2000 10:52:38 -0400 (EDT) Received: by toto.mat.cc (Postfix, from userid 10) id 82A8910413; Tue, 5 Sep 2000 16:52:26 +0200 (CEST) Received: from galadriel.in.mat.cc (galadriel.in.mat.cc [192.168.5.4]) (using SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (192/192 bits)) (Client CN "galadriel.in.mat.cc", Issuer CN "Mathieu Arnold" (verified OK)) by bilbo.in.mat.cc (Postfix) with ESMTP id 71F593250C for ; Tue, 5 Sep 2000 16:52:20 +0200 (CEST) Received: from club-internet.fr (gandalf.in.mat.cc [192.168.5.2]) (using SSLv3 with cipher EXP1024-RC4-SHA (56/128 bits)) (Client CN "Mathieu Arnold", Issuer CN "Mathieu Arnold" (verified OK)) by galadriel.in.mat.cc (Postfix) with ESMTP id 302C9F4E for ; Tue, 5 Sep 2000 16:46:53 +0200 (CEST) Message-ID: <39B5089B.C605CA20@club-internet.fr> Date: Tue, 05 Sep 2000 16:52:11 +0200 From: Mathieu Arnold Organization: http://www.mat.cc/ X-Mailer: Mozilla 4.73 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: problem creating hash index References: <7D59335FDAE0D011A3350060974B1C720318EBD1@l-mhs3.lannion.cnet.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/3 HENAFF Mari-mai FTRD/DMI/LAN wrote: > > Hi, > > I have a problem creating a hash index : it's too slow (it takes several > days, i stopped it before the end). > When i create a b-tree index on the same field, it takes approximately > twenty minutes. > The type of the field indexed is Varchar(16). The table indexed contains 20 > MO of rows. what's the difference between b-tree and hashed indexes ? -- Mathieu Arnold