Re: [BUGS] Integrity check - Mailing list pgsql-general

From Greg Stark
Subject Re: [BUGS] Integrity check
Date
Msg-id 407d949e0906250601j695d169frb1e7882d34392b73@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] Integrity check  (Scott Mead <scott.lists@enterprisedb.com>)
List pgsql-general
On Wed, Jun 24, 2009 at 11:45 PM, Scott
Mead<scott.lists@enterprisedb.com> wrote:
>
>    If you're asking "Does the database have the ability to verify that
> whatever is in a block is what was put into that block", then Oracle has
> block check-summing (I'm not sure if this got into PG 8.4 or not...)

It didn't, due to technical issues.

However you should be aware that checksumming doesn't necessarily
provide a broad guarantee either. It can only protect against damage
that occurs between the time the checksum is generated and when it's
verified. If you have bad memory, for example, it can corrupt the data
before the checksum is calculated, so the block may be stored happily
with a valid checksum for the corrupt data.



--
greg
http://mit.edu/~gsstark/resume.pdf

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Upgrade
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: create a table inside a function