Re: file system and raid performance

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Mark Wong <markwkm(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: file system and raid performance
Date: 2008-08-16 04:53:20
Message-ID: Pine.GSO.4.64.0808160032250.4135@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, 15 Aug 2008, Bruce Momjian wrote:

> 'data=writeback' is the recommended mount method for that file system,
> though I see that is not mentioned in our official documentation.

While writeback has good performance characteristics, I don't know that
I'd go so far as to support making that an official recommendation. The
integrity guarantees of that journaling mode are pretty weak. Sure the
database itself should be fine; it's got the WAL as a backup if the
filesytem loses some recently written bits. But I'd hate to see somebody
switch to that mount option on this project's recommendation only to find
some other files got corrupted on a power loss because of writeback's
limited journalling. ext3 has plenty of problem already without picking
its least safe mode, and recommending writeback would need a carefully
written warning to that effect.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Mielke 2008-08-16 15:01:31 Re: file system and raid performance
Previous Message Mark Wong 2008-08-15 19:31:04 Re: file system and raid performance