Re: Visibility map, partial vacuums

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Visibility map, partial vacuums
Дата
Msg-id 4502.1227553421@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Visibility map, partial vacuums  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> So if it's possible for the frozenxid in the visibility map to go backwards
> then it's no good, since if that update is lost we might skip a necessary
> vacuum freeze.

Seems like a lost disk write would be enough to make that happen.

Now you might argue that the odds of that are no worse than the odds of
losing an update to one particular heap page, but in this case the
single hiccup could lead to losing half a gigabyte of data (assuming 8K
page size).  The leverage you get for saving vacuum freeze work is
exactly equal to the magnification factor for data loss.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Snapshot warning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] literal limits in 8.3