Re: Index creation takes for ever - Mailing list pgsql-hackers

From ohp@pyrenet.fr
Subject Re: Index creation takes for ever
Date
Msg-id Pine.UW2.4.53.0309012157180.23297@server.pyrenet.fr
Whole thread Raw
In response to Re: Index creation takes for ever  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Index creation takes for ever
List pgsql-hackers
Hi Tom,
I've made some tests with your qsort and it DEFINITIVLY help
~3 mn instead of 69.

However this is for 7.3.4 I've got no probs with 7.4b.
Did something change in btree creation?
On Mon, 1 Sep 2003, Tom Lane wrote:

> Date: Mon, 01 Sep 2003 08:46:09 -0400
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: ohp@pyrenet.fr
> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] Index creation takes for ever
>
> ohp@pyrenet.fr writes:
> > it took 69 minutes to finish, 75% of this time was devoted to create 2
> > indexes on varchar(2) with value being 'O', 'N' or null;
> > I wonder if it's a configuration matter.
>
> I still say it's either strcoll or qsort's fault.  Try swapping in our
> own version of qsort to see if the behavior changes.
>
>             regards, tom lane
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Preliminary notes about hash index concurrency (long)
Next
From: Tommi Mäkitalo
Date:
Subject: TCP/IP with 7.4 beta2 broken?