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)
Список
Дерево обсуждения
Adding Column on Huge Table Moin Akther <moindba@hotmail.com>
Re: Adding Column on Huge Table Laurenz Albe <laurenz.albe@cybertec.at>
Re: Adding Column on Huge Table Shreeyansh Dba <shreeyansh2014@gmail.com>
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 по дате отправления