Re: [PATCHES] wal_checksum = on (default) | off

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: [PATCHES] wal_checksum = on (default) | off
Дата
Msg-id 87r6uawnst.fsf@mid.deneb.enyo.de
обсуждение исходный текст
Ответ на Re: [PATCHES] wal_checksum = on (default) | off  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] wal_checksum = on (default) | off  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
* Tom Lane:

> Florian Weimer <fweimer@bfk.de> writes:
>> Have you tried switching to Adler32 instead of CRC32?
>
> Is anything known about the error detection capabilities of Adler32?
> There's a lot of math behind CRCs but AFAIR Adler's method is pretty
> much ad-hoc.

Correct me if I'm wrong, but the main reason for the WAL CRC is to
detect partial WAL writes (due to improper caching, for instance).
This means that you're out of the realm of traditional CRC analysis
anyway, because the things you are guarding against are neither burts
errors nor n-bit errors (for small n).

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

Предыдущее
От: markwkm@gmail.com
Дата:
Сообщение: ideas for auto-processing patches
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] wal_checksum = on (default) | off