Skip site navigation (1) Skip section navigation (2)

Re: Index creation takes for ever

From: ohp(at)pyrenet(dot)fr
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Index creation takes for ever
Date: 2003-08-28 16:57:02
Message-ID: Pine.UW2.4.53.0308281854500.12530@server.pyrenet.fr (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
My platforms are Unixware 713.

Am I right to be afraid that I have to pg_dump and reload?
Stiil it's amazind, 7.3 has been up for months and I discover the proclem
today...
Well, I don't reindex that often...
On Thu, 28 Aug 2003, Tom Lane wrote:

> Date: Thu, 28 Aug 2003 12:19:13 -0400
> From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> To: ohp(at)pyrenet(dot)fr
> Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
> Subject: Re: [HACKERS] Index creation takes for ever
>
> ohp(at)pyrenet(dot)fr writes:
> > I've reinitdb (on 7.4b) with LANG=C and it worked.
> > So I reinitDB with LANG=FR and used LANG=C to psql -f xxx.sql template1 to
> > recreate the db and it worked too...
>
> That's weird.  I don't understand why an initdb in the same locale would
> make the problem go away.
>
> > I did'nt initdb between cvs changes, maybe that's why.
>
> If you had only seen the problem in 7.4b then I could believe that theory,
> but since you also saw it in the stable 7.3 installation, I don't.
>
> > would LANG=C psql -c"reindex table blah" db would help?
>
> No, the LANG environment of psql wouldn't make the slightest difference
> here.
>
> I don't think you told us your platform?  (OS version, kernel, compiler,
> etc)
>
> 			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(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

In response to

pgsql-hackers by date

Next:From: Greg StarkDate: 2003-08-28 17:13:09
Subject: New array functions
Previous:From: Matt ClarkDate: 2003-08-28 16:37:24
Subject: Re: Hardware recommendations to scale to silly load

pgsql-patches by date

Next:From: Greg StarkDate: 2003-08-28 17:13:09
Subject: New array functions
Previous:From: Tom LaneDate: 2003-08-28 16:19:13
Subject: Re: Index creation takes for ever

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group