Στις 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

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to