full_page_writes = off?

From: rihad <rihad(at)mail(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: full_page_writes = off?
Date: 2007-12-01 08:02:23
Message-ID: 4751150F.8080604@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general

Hi, would full_page_writes=off increase the risk of inconsistency or db
corruption in 8.3 and FreeBSD 7?

fsync = on;
Definitely "on", as single power outage after three years is guaranteed
to make your life interesting otherwise.

synchronous_commit = off;
Can be "off" in my case as I'm not doing any "external" actions based on
transaction's success or failure (if I understand the docs correctly).
So I don't care at which moment the evil strikes as long as the db is
consistent.

full_page_writes = off;
AFAIK when this is "on" it means synchronous WAL writing with less
impact, as it occurs once per checkpoint, but it's still synchronous.
Not sure at all about this one. How would FreeBSD 7's UFS survive the
power crash etc. with this set to "off"? OTOH, does "on" play well with
synchronous_commit=off? Meaning, will the transaction holder get success
immediately on commit, still guaranteeing consistency?

Thanks for any insights or clarifying missed points.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Gregory Stark 2007-12-01 11:37:31 Re: full_page_writes = off?
Previous Message David Fetter 2007-12-01 04:56:20 Re: [PATCHES] Partition: use triggers instead of rules

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2007-12-01 08:44:20 Re: libeay32.dll and libpq.dll
Previous Message Lew 2007-12-01 08:01:52 Re: Simple math statement - problem