Re: How much do the hint bits help?
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: Merlin Moncure <mmoncure@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-12-22T15:37:01Z
Lists: pgsql-hackers
On 22.12.2010 17:31, Simon Riggs wrote: > On Wed, 2010-12-22 at 17:01 +0200, Heikki Linnakangas wrote: >> Do you envision that the CRC is calculated at every update, or only when >> a page is written out from the buffer cache? > > At every update, so there is a clear assertion that the CRC matches the > block. Umm, when do you check the CRC? Every time the page is locked? Every time it's updated? If don't verify the CRC, what is it good for? -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com