Re: Proposal: Incremental Backup

Поиск
Список
Период
Сортировка
От Claudio Freire
Тема Re: Proposal: Incremental Backup
Дата
Msg-id CAGTBQpai13dnU6Od7o3fkJSPH2hMREf83MtGBSdc5WirSxzr4w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposal: Incremental Backup  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Fri, Jul 25, 2014 at 7:38 PM, Josh Berkus <josh@agliodbs.com> wrote:
> On 07/25/2014 11:49 AM, Claudio Freire wrote:
>>> I agree with much of that.  However, I'd question whether we can
>>> > really seriously expect to rely on file modification times for
>>> > critical data-integrity operations.  I wouldn't like it if somebody
>>> > ran ntpdate to fix the time while the base backup was running, and it
>>> > set the time backward, and the next differential backup consequently
>>> > omitted some blocks that had been modified during the base backup.
>> I was thinking the same. But that timestamp could be saved on the file
>> itself, or some other catalog, like a "trusted metadata" implemented
>> by pg itself, and it could be an LSN range instead of a timestamp
>> really.
>
> What about requiring checksums to be on instead, and checking the
> file-level checksums?   Hmmm, wait, do we have file-level checksums?  Or
> just page-level?

It would be very computationally expensive to have up-to-date
file-level checksums, so I highly doubt it.



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Proposal: Incremental Backup
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_background (and more parallelism infrastructure patches)