Re: ZFS and Postgresql - WASRe: Best OS for Postgres 8.2

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Jignesh Shah <J.K.Shah@Sun.COM>
Cc: 李彦 Ian Li <liyan82@gmail.com>, PostgreSQL Performance <pgsql-performance@postgresql.org>
Date: 2007-05-09T17:01:45Z
Lists: pgsql-performance
Jignesh Shah escribió:

> Now comes the thing that I am still exploring
> * Do we do checksum in WAL ? I guess we do .. Which means that we are 
> now doing double checksumming on the data. One in ZFS and one in 
> postgresql. ZFS does allow checksumming to be turned off (but on new 
> blocks allocated). But of course the philosophy is where should it be 
> done (ZFS or PostgreSQL).

Checksums on WAL are not optional in Postgres, because AFAIR they are
used to determine when it should stop recovering.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support