Re: Possible causes for database corruption and solutions

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Michael Clark <codingninja(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Possible causes for database corruption and solutions
Date: 2010-02-25 02:31:28
Message-ID: 4B85E100.9060801@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian wrote:
> Is changing the OS/X wal_sync_method default something we should
> consider?
>

It's certainly reasonable to consider changing both OS X and Windows so
wal_sync_method defaulted to fsync_writethrough, and provide safer
operation by default on both those platforms. It would also result in a
mass of complaints that PG 9.0 was much slower than 8.4 from people who
were running it in an unsafe way before.

Given that we're already starting to see that bad PR on Linux+ext4:
http://www.phoronix.com/scan.php?page=article&item=ext4_then_now&num=3

I wonder whether it's the right time for the "reliable is the default on
every platform" to just suck up and adopt everywhere, if we're already
going to be fighting this "why is PG so slow on recent Linux versions?"
PR campaign anyway.

--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2010-02-25 02:47:00 Re: Missing clog, PITR
Previous Message Greg Smith 2010-02-25 02:13:36 Re: Performance comparison