Re: cleanup patches for incremental backup

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: cleanup patches for incremental backup
Дата
Msg-id 20240129211321.GA3676549@nathanxps13
обсуждение исходный текст
Ответ на Re: cleanup patches for incremental backup  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: cleanup patches for incremental backup  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Mon, Jan 29, 2024 at 03:18:50PM -0500, Robert Haas wrote:
> I'm wondering if what we need to do is run pg_walsummary on both
> summary files in that case. If we just pick one or the other, how do
> we know which one to pick?

Even if we do that, isn't it possible that none of the summaries will
include the change?  Presently, we get the latest summarized LSN, make a
change, and then wait for the next summary file with a greater LSN than
what we saw before the change.  But AFAICT there's no guarantee that means
the change has been summarized yet, although the chances of that happening
in a test are probably pretty small.

Could we get the LSN before and after making the change and then inspect
all summaries that include that LSN range?

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Ants Aasma
Дата:
Сообщение: Re: Change GUC hashtable to use simplehash?
Следующее
От: Melanie Plageman
Дата:
Сообщение: Streaming read-ready sequential scan code