Re: slow building index and reference after Sybase to Pg - Mailing list pgsql-general

From Andres Freund
Subject Re: slow building index and reference after Sybase to Pg
Date
Msg-id 201103010130.19258.andres@anarazel.de
Whole thread Raw
In response to slow building index and reference after Sybase to Pg  (Gary Fu <gfu@sigmaspace.com>)
Responses Re: slow building index and reference after Sybase to Pg
List pgsql-general
Hi,

On Wednesday 23 February 2011 19:31:58 Gary Fu wrote:
> I'm testing on converting a big Sybase db to Pg.  It took about 45 hours
> to convert all sybase tables (bcp) to Pg (copy) without index and
> reference.  After that I built the index (one by one, sequentially) and
> it took about 25 hours and then I started to add the references (one by
> one), however, it has been more than 30 hours and still has no sign of
> finishing. I wonder, is there any suggestion that may speed up the index
> and reference building (on Pg).
I think some additional information would be useful:
* pg version
* kernel version
* distribution


Andres

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: slow building index and reference after Sybase to Pg
Next
From: "David Johnston"
Date:
Subject: Re: Lock ACCESS EXCLUSIVE and Select question !