From: rihad <rihad@mail.ru>
To: pgsql-general@postgresql.org
Subject: full_page_writes = off?
Date: Sat, 01 Dec 2007 12:02:23 +0400
Message-ID: <4751150F.8080604@mail.ru> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: rihad@mail.ru, pgsql-general@postgresql.org
Subject: Re: full_page_writes = off?
In-Reply-To: <4751150F.8080604@mail.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox