Re: [GENERAL] Undetected corruption of table files
| От | Tom Lane |
|---|---|
| Тема | Re: [GENERAL] Undetected corruption of table files |
| Дата | |
| Msg-id | 291.1188587489@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [GENERAL] Undetected corruption of table files (Decibel! <decibel@decibel.org>) |
| Ответы |
Re: [GENERAL] Undetected corruption of table files
|
| Список | pgsql-hackers |
Decibel! <decibel@decibel.org> writes:
> Even if we don't care about folks running on suspect hardware, having a
> CRC would make it far more reasonable to recommend full_page_writes=3Doff.
This argument seems ridiculous. Finding out that you have corrupt data
is no substitute for not having corrupt data.
> BTW, a method that would buy additional protection would be to compute
> the CRC for a page every time you modify it in such a way that generates
> a WAL record, and record that CRC with the WAL record. That would
> protect from corruption that happened anytime after the page was
> modified, instead of just when smgr went to write it out. How useful
> that is I don't know...
Two words: hint bits.
regards, tom lane
В списке pgsql-hackers по дате отправления: