Re: What does "Table rewrite" mean?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: What does "Table rewrite" mean?
Дата
Msg-id 20180120101807.GB1311@paquier.xyz
обсуждение исходный текст
Ответ на Re: What does "Table rewrite" mean?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: What does "Table rewrite" mean?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-docs
On Fri, Jan 19, 2018 at 11:33:43AM -0500, Tom Lane wrote:
> It means reading the whole table and writing it out in some modified
> form (for instance, with some column transformed into a new datatype).
> It's not "dangerous" in any way ... but if you've got many GB of data in
> the table and you can't afford to have the table locked for a long time,
> then it's something to avoid.

Yeah that can be costly. Note that WAL corresponding to this data needs
to be generated as well.
--
Michael

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: typo: overlay
Следующее
От: PG Doc comments form
Дата:
Сообщение: overlapping ranges