Re: 16-bit page checksums for 9.2

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: 16-bit page checksums for 9.2
Дата
Msg-id 4EFA24F7.6090007@enterprisedb.com
обсуждение исходный текст
Ответ на Re: 16-bit page checksums for 9.2  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: 16-bit page checksums for 9.2  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On 25.12.2011 15:01, Kevin Grittner wrote:
> I don't believe that.  Double-writing is a technique to avoid torn
> pages, but it requires a checksum to work.  This chicken-and-egg
> problem requires the checksum to be implemented first.

I don't think double-writes require checksums on the data pages 
themselves, just on the copies in the double-write buffers. In the 
double-write buffer, you'll need some extra information per-page anyway, 
like a relfilenode and block number that indicates which page it is in 
the buffer.

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


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: sorting table columns
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Misleading CREATE TABLE error