Re: Block-level CRC checks
| От | Florian Weimer |
|---|---|
| Тема | Re: Block-level CRC checks |
| Дата | |
| Msg-id | 82d4ik8fpl.fsf@mid.bfk.de обсуждение исходный текст |
| Ответ на | Re: Block-level CRC checks (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
| Список | pgsql-hackers |
* Heikki Linnakangas: > Currently, hint bit updates are not WAL-logged, and thus no full page > write is done when only hint bits are changed. Imagine what happens if > hint bits are updated on a page, but there's no other changes, and we > crash so that only one half of the new page version makes it to disk > (= torn page). The CRC would not match, even though the page is > actually valid. The non-logged hint bit writes are somewhat dangerous anyway. Maybe it's time to get rid of this peculiarity, despite the performance impact? -- Florian Weimer <fweimer@bfk.de> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99
В списке pgsql-hackers по дате отправления: