Re: Block-level CRC checks - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: Block-level CRC checks
Date
Msg-id 48E34153.90302@sun.com
Whole thread Raw
In response to Block-level CRC checks  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Block-level CRC checks
List pgsql-hackers
Alvaro Herrera napsal(a):

> This code would be run-time or compile-time configurable.  I'm not
> absolutely sure which yet; the problem with run-time is what to do if
> the user restarts the server with the setting flipped.  It would have
> almost no impact on users who don't enable it.

I prefer runtime configuration. Solaris has two filesystems UFS, ZFS. 
ZFS offers strong error detection and a another CRC is overhead. You 
need mechanism how to enable this feature on UFS and disable on ZFS. I 
suggest to have it as tablespace property and for default tablespace you 
can setup it in initdb phase.

    Zdenek


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Plans for Hot Standby
Next
From: "Harald Armin Massa"
Date:
Subject: Re: Block-level CRC checks