Re: alter table on a large db - Mailing list pgsql-sql

From Achilleas Mantzios
Subject Re: alter table on a large db
Date
Msg-id 200903191030.36164.achill@matrix.gatewaynet.com
Whole thread Raw
In response to alter table on a large db  (Zdravko Balorda <zdravko.balorda@siix.com>)
List pgsql-sql
Στις Thursday 19 March 2009 09:57:11 ο/η Zdravko Balorda έγραψε:
>
> Hi,
>
> I need to make some ALTER TABLEs. It takes about 30min to copy
> this quite large databse, bat several ours to run a bunch of ALTER
> TABLE statements.
> Is there any way to make it faster? I wonder what could possibly alter
> table be doing all this time.

Which version of postgresql do you use?
Also you might consider editing the SQL dump to alter
the DDL statements prior to loading it in your db.
batch editing sed, awk, perl, could help you on that...

>
> Regards, Zdravko.
>
>



--
Achilleas Mantzios


pgsql-sql by date:

Previous
From: Zdravko Balorda
Date:
Subject: alter table on a large db
Next
From: Scott Marlowe
Date:
Subject: Re: alter table on a large db