Re: Page Checksums

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Page Checksums
Дата
Msg-id 4EEF9BFA.9000308@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Page Checksums  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Page Checksums  (Jeff Davis <pgsql@j-davis.com>)
Re: Page Checksums  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On 19.12.2011 21:27, Robert Haas wrote:
> To put this another way, we currently WAL-log just about everything.
> We get away with NOT WAL-logging some things when we don't care about
> whether they make it to disk.  Hint bits, killed index tuple pointers,
> etc. cause no harm if they don't get written out, even if some other
> portion of the same page does get written out.  But as soon as you CRC
> the whole page, now absolutely every single bit on that page becomes
> critical data which CANNOT be lost.  IOW, it now requires the same
> sort of protection that we already need for our other critical updates
> - i.e. WAL logging.  Or you could introduce some completely new
> mechanism that serves the same purpose, like MySQL's double-write
> buffer.

Double-writes would be a useful option also to reduce the size of WAL 
that needs to be shipped in replication.

Or you could just use a filesystem that does CRCs...

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autonomous subtransactions
Следующее
От: Gianni Ciolli
Дата:
Сообщение: Re: Autonomous subtransactions