Re: slow building index and reference after Sybase to Pg

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-general(at)postgresql(dot)org
Cc: Gary Fu <gfu(at)sigmaspace(dot)com>
Subject: Re: slow building index and reference after Sybase to Pg
Date: 2011-03-01 00:30:18
Message-ID: 201103010130.19258.andres@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2011-03-01 01:13:25 Re: Lock ACCESS EXCLUSIVE and Select question !
Previous Message Joshua D. Drake 2011-03-01 00:10:17 Re: slow building index and reference after Sybase to Pg