Re: alter table on a large db

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема Re: alter table on a large db
Дата
Msg-id 200903191030.36164.achill@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на alter table on a large db  (Zdravko Balorda <zdravko.balorda@siix.com>)
Список 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 по дате отправления:

Предыдущее
От: Zdravko Balorda
Дата:
Сообщение: alter table on a large db
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: alter table on a large db