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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-patches by date

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