Re: PITR, checkpoint, and local relations

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: PITR, checkpoint, and local relations
Дата
Msg-id 004801c23e98$39477290$ed2db841@home
обсуждение исходный текст
Ответ на Re: PITR, checkpoint, and local relations  ("J. R. Nield" <jrnield@usol.com>)
Список pgsql-hackers
> > The xlog code must allow us to force an advance to the next log file,
> > and truncate the archived file when it's copied so as not to waste
> > space.
> 
> Uh, why?  Why not just force a checkpoint and remember the exact
> location of the checkpoint within the current log file?

Yes, why not just save pg_control' content with new checkpoint
position in it? Didn't we agree (or at least I don't remember objections
to Tom' suggestion) that backup will not save log files at all and that
this will be task of log archiving procedure? Even if we are going to
reconsider this approach, I would just save required portion of
log at *this moment* and do that space optimization *later*.

Vadim




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

Предыдущее
От: Greg Copeland
Дата:
Сообщение: Another python patch -- minor
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Open 7.3 items