Re: What's the best practice to compare the transaction with the checkpoint?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: What's the best practice to compare the transaction with the checkpoint?
Дата
Msg-id 96e63393bffdf23b4ea853a9ddebed1ed0acc670.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: What's the best practice to compare the transaction with the checkpoint?  (Jialun Zhang <reatank@gmail.com>)
Список pgsql-novice
On Mon, 2020-07-06 at 17:50 -0400, Jialun Zhang wrote:
> > The replay of step 4 would need to perform something like "delete the file
> > for V if it exists, but don't complain if it does not", since we couldn't
> > be sure which state we'll find on-disk.
>
> What I am actually asking is that, is it possible that the replay depends
> on a deleted value, which has been physically removed by a VACUUM.
> Bear with my very basic knowledge in Postgres.

The WAL records that affect your out-of-line stored file would be written
by you, so you'd have to make sure that replaying such WAL records works
whether the file is present or not.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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

Предыдущее
От: Jialun Zhang
Дата:
Сообщение: Re: What's the best practice to compare the transaction with the checkpoint?
Следующее
От: Steve Estes
Дата:
Сообщение: Re: Multi-column join + aggregate subquery resulting in infinite run time