| From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
|---|---|
| To: | Zdravko Balorda <zdravko(dot)balorda(at)siix(dot)com> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: alter table on a large db |
| Date: | 2009-03-19 11:17:14 |
| Message-ID: | dcc563d10903190417g3189d87fj8e7023ee1adbcbae@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
On Thu, Mar 19, 2009 at 1:57 AM, Zdravko Balorda
<zdravko(dot)balorda(at)siix(dot)com> wrote:
>
> 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 alter table statements are you running in particular? Most
alter table stuff runs pretty quickly, like adding a column and such.
Just wondering.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Emi Lu | 2009-03-19 14:54:34 | Re: alter column from varchar(32) to varchar(255) without view re-creation |
| Previous Message | Achilleas Mantzios | 2009-03-19 08:30:35 | Re: alter table on a large db |