Re: PITR, checkpoint, and local relations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PITR, checkpoint, and local relations
Дата
Msg-id 16104.1028733782@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PITR, checkpoint, and local relations  ("J. R. Nield" <jrnield@usol.com>)
Список pgsql-hackers
Richard Tucker <richt@multera.com> writes:
> But you have to prevent log files reusing while you copy data files.

>> No, I don't think so.  If you are using PITR then you presumably have
>> some process responsible for archiving off log files on a continuous
>> basis.  The backup process should leave that normal operational behavior
>> in place, not muck with it.

> You want the log files necessary for recovering the database to be in the
> backup copy -- don't you?

Why?  As far as I can see, this entire feature only makes sense in the
context where you are continuously archiving log files to someplace
(let's say tape, for purposes of discussion).  Every so often you make a
backup, and what that does is it lets you recycle the log-archive tapes
older than the start of the backup.  You still need the log segments
newer than the start of the backup, and you might as well just keep the
tapes that they're going to be on anyway.  Doing it the way you propose
(ie, causing a persistent change in the behavior of the log archiving
process) simply makes the whole operation more complex and more fragile,
without any actual gain in functionality that I can detect.
        regards, tom lane


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: CLUSTER and indisclustered
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Open 7.3 items