Re: Block-level CRC checks

Поиск
Список
Период
Сортировка
От Brian Hurt
Тема Re: Block-level CRC checks
Дата
Msg-id 48E61FD3.3060903@janestcapital.com
обсуждение исходный текст
Ответ на Re: Block-level CRC checks  (Decibel! <decibel@decibel.org>)
Ответы Re: Block-level CRC checks  ("Dawid Kuroczko" <qnex42@gmail.com>)
Re: Block-level CRC checks  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
OK, I have a stupid question- torn pages are a problem, but only during 
recovery.  Recovery is (I assume) a fairly rare condition- if data 
corruption is going to happen, it's most likely to happen during normal 
operation.  So why not just turn off CRC checksumming during recovery, 
or at least treat it as a much less critical error?  During recovery, if 
the CRC checksum matches, we can assume the page is good- not only not 
corrupt, but not torn either.  If the CRC checksum doesn't match, we 
don't panic, but maybe we do more careful analysis of the page to make 
sure that only the hint bits are wrong.  Or maybe not.  It's only during 
normal operation that a CRC checksum failure would be considered critical.


Feel free to explain to me why I'm an idiot.

Brian



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add relation fork support to pg_relation_size() function.
Следующее
От: "Dawid Kuroczko"
Дата:
Сообщение: Re: Block-level CRC checks