snapshot question

Поиск
Список
Период
Сортировка
От qihua wu
Тема snapshot question
Дата
Msg-id CAPoYto+ouSQoXmLEaXh0VdVV8Y1w54FDcsR4CcE-vBX8Zbgc2A@mail.gmail.com
обсуждение исходный текст
Ответы Re: snapshot question  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
To get a snapshot we need to know xmin, xmax and xip. my question is why do we need them? Since every tuple in a page has t_xmin and t_xmax based on the page layout(https://www.postgresql.org/docs/current/storage-page-layout.html), if we has a snapshot at xip 12345, couldn't we just check every tuple whose t_xmin is lower than 12345 and already committed?

Thanks,
Qihua

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re[2]: PG 14.5 -- Impossible to restore dump due to interaction/order of views, functions, and generated columns
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: snapshot question