Re: Adding Column on Huge Table

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Adding Column on Huge Table
Дата
Msg-id b1cfe8ba-7365-de0d-ba4f-4ca1daeb62f4@gmx.net
обсуждение исходный текст
Ответ на Re: Adding Column on Huge Table  (Alex Balashov <abalashov@evaristesys.com>)
Список pgsql-admin
Alex Balashov schrieb am 19.03.2019 um 21:52:
> My experience is that adding a column is a rather quick operation even
> on quite large tables, _unless_ the column has a default value, in which
> case that default value is set for every row. In that case, the time
> required for the operation converges with that of a mass-UPDATE.

Which has changed with Postgres 11, where adding a default value does not update all rows in the table.



В списке pgsql-admin по дате отправления:

Предыдущее
От: Alex Balashov
Дата:
Сообщение: Re: Adding Column on Huge Table
Следующее
От: Shreeyansh Dba
Дата:
Сообщение: Re: Adding Column on Huge Table