Re: PITR, checkpoint, and local relations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PITR, checkpoint, and local relations
Дата
Msg-id 14781.1028318500@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PITR, checkpoint, and local relations  ("J. R. Nield" <jrnield@usol.com>)
Ответы Re: PITR, checkpoint, and local relations
Re: PITR, checkpoint, and local relations
Список pgsql-hackers
"J. R. Nield" <jrnield@usol.com> writes:
> The predicate for files we MUST (fuzzy) copy is: 
>   File exists at start of backup && File exists at end of backup

Right, which seems to me to negate all these claims about needing a
(horribly messy) way to read uncommitted system catalog entries, do
blind reads, etc.  What's wrong with just exec'ing tar after having
done a checkpoint?

(In particular, I *strongly* object to using the buffer manager at all
for reading files for backup.  That's pretty much guaranteed to blow out
buffer cache.  Use plain OS-level file reads.  An OS directory search
will do fine for finding what you need to read, too.)
        regards, tom lane


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

Предыдущее
От: "J. R. Nield"
Дата:
Сообщение: Re: PITR, checkpoint, and local relations
Следующее
От: Greg Copeland
Дата:
Сообщение: Re: WAL file location