Re: Adding Column on Huge Table

From: Shreeyansh Dba <shreeyansh2014(at)gmail(dot)com>
To: Moin Akther <moindba(at)hotmail(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Adding Column on Huge Table
Date: 2019-03-20 02:00:11
Message-ID: CAGDYbUPm_V93DdmDK4wkMyfWUywkefkSkdr0861x3Mb-BAOXZw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Moin,

Go through below link hope this will help you.

https://leopard.in.ua/2016/09/20/safe-and-unsafe-operations-postgresql#.XJGan6AzbIU

Thanks & Regards,
*Shreeyansh DBA Team*
www.shreeyansh.com

On Tue, Mar 19, 2019 at 9:26 PM Moin Akther <moindba(at)hotmail(dot)com> wrote:

> Dear Experts,
>
> We want to add a column on table size of 1.5TB, we have to perform this
> activity with minimal downtime.
>
> What are the best practises to add a column on huge table ?
>
> How much time alter statement will take to add column ?
>
> Any alternate solution other than alter statement to add column ?
>
> Will adding a new column on a huge table generate huge WAL files ?
>
> Thanks and Best Regards,
> *Akther*
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Josef Machytka 2019-03-20 11:01:22 error: database is not accepting commands to avoid wraparound data loss in database ....
Previous Message Thomas Kellerer 2019-03-19 21:06:12 Re: Adding Column on Huge Table