Re: Proposal: Incremental Backup

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Proposal: Incremental Backup
Дата
Msg-id 20140812143000.GA18223@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Proposal: Incremental Backup  (Claudio Freire <klaussfreire@gmail.com>)
Ответы Re: Proposal: Incremental Backup  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2014-08-12 10:25:21 -0300, Claudio Freire wrote:
> On Tue, Aug 12, 2014 at 6:41 AM, Marco Nenciarini
> <marco.nenciarini@2ndquadrant.it> wrote:
> > To declared two files identical they must have same size,
> > same mtime and same *checksum*.
> 
> Still not safe. Checksum collisions do happen, especially in big data sets.

If you use an appropriate algorithm for appropriate amounts of data
that's not a relevant concern. You can easily do different checksums for
every 1GB segment of data. If you do it right the likelihood of
conflicts doing that is so low it doesn't matter at all.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: "MauMau"
Дата:
Сообщение: Re: [RFC] Should smgrtruncate() avoid sending sinval message for temp relations
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: delta relations in AFTER triggers