Skip site navigation (1) Skip section navigation (2)

Re: wal_checksum = on (default) | off

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>,<pgsql-patches(at)postgresql(dot)org>
Subject: Re: wal_checksum = on (default) | off
Date: 2007-01-04 15:56:39
Message-ID: 1167926200.20749.144.camel@silverbirch.site (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
On Thu, 2007-01-04 at 10:00 -0500, Tom Lane wrote:
> "Simon Riggs" <simon(at)2ndquadrant(dot)com> writes:
> > In this thread, I outlined an idea for reducing cost of WAL CRC checking
> > http://archives.postgresql.org/pgsql-hackers/2006-10/msg01299.php
> > wal_checksum = on (default) | off
> 
> This still seems awfully dangerous to me.

Understood.

> > Recovery can occur with/without same setting of wal_checksum, to avoid
> > complications from crashes immediately after turning GUC on.
> 
> Surely not.  Otherwise even the "on" setting is not really a defense.

Only when the CRC is exactly zero, which happens very very rarely.

-- 
  Simon Riggs             
  EnterpriseDB   http://www.enterprisedb.com



In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-01-04 16:09:59
Subject: Re: wal_checksum = on (default) | off
Previous:From: Mario WeilguniDate: 2007-01-04 15:41:36
Subject: Re: InitPostgres and flatfiles question

pgsql-patches by date

Next:From: Tom LaneDate: 2007-01-04 16:09:59
Subject: Re: wal_checksum = on (default) | off
Previous:From: Tom LaneDate: 2007-01-04 15:00:56
Subject: Re: wal_checksum = on (default) | off

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group