[GENERAL] When updating row that has TOAST column, is the TOAST column alsoreinserted ? Or just the oid to the value?

Поиск
Список
Период
Сортировка
От Dorian Hoxha
Тема [GENERAL] When updating row that has TOAST column, is the TOAST column alsoreinserted ? Or just the oid to the value?
Дата
Msg-id CANsFX07ozgyRx-0kvt_cdFWC0zJHJzifu68sS4xiSW-25DFNdg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] When updating row that has TOAST column, is the TOASTcolumn also reinserted ? Or just the oid to the value?
Список pgsql-general
Hello friends,

When updating row that has TOAST column, is the TOAST column also inserted ? Or just the oid?
Say I have a 1MB value in the TOAST column, and I update the row by changing another column, and since every update is an insert, will it also reinsert the toast-column ? The column that I will update will have an index so I think hot-update won't work in this case ? The same question also when full-page-writes is enabled ?

Using 9.6.

Thank you!

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

Предыдущее
От: Torsten Förtsch
Дата:
Сообщение: [GENERAL] is this a known bug in 9.6?
Следующее
От: VENKTESH GUTTEDAR
Дата:
Сообщение: [GENERAL] Appending to multidimentional array.