Re: Dangers of fsync = off

From: Joel Dice <dicej(at)mailsnare(dot)net>
To: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Dangers of fsync = off
Date: 2007-05-09 17:53:38
Message-ID: alpine.DEB.0.83.0705090950080.20341@joeldicepc.ecovate.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks, Bill and Scott, for your responses.

To summarize, turning fsync off on the master of a Slony-I cluster is
probably safe if you observe the following:

1. When failover occurs, drop all databases on the failed machine and
sync it with the new master before re-introducing it into the cluster.
Note that the failed machine must not be returned to use until this is
done.

2. Be aware that the above implies that you will lose any transactions
which did not reach the standby machine prior to failure, violating the
Durability component of ACID. This is true of any system which relies on
asynchronous replication and automatic failover.

- Joel

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-05-09 18:36:01 Re: CentOS 5, pg8.4.2, could not read time zone file
Previous Message Naz Gassiep 2007-05-09 17:52:12 Re: In theory question