Re: Advice configuring ServeRAID 8k for performance - Mailing list pgsql-performance

From Scott Carey
Subject Re: Advice configuring ServeRAID 8k for performance
Date
Msg-id 5687A8AD-CA70-4272-A32C-6AE5F491CEA4@richrelevance.com
Whole thread Raw
In response to Re: Advice configuring ServeRAID 8k for performance  (Greg Smith <greg@2ndquadrant.com>)
Responses Re: Advice configuring ServeRAID 8k for performance  (Greg Smith <greg@2ndquadrant.com>)
Re: Advice configuring ServeRAID 8k for performance  (Bruce Momjian <bruce@momjian.us>)
List pgsql-performance
Don't ever have WAL and data on the same OS volume as ext3.

If data=writeback, performance will be fine, data integrity will be ok for WAL, but data integrity will not be
sufficientfor the data partition. 
If data=ordered, performance will be very bad, but data integrity will be OK.

This is because an fsync on ext3 flushes _all dirty pages in the file system_ to disk, not just those for the file
beingfsync'd. 

One partition for WAL, one for data.  If using ext3 this is essentially a performance requirement no matter how your
arrayis set up underneath.  

On Aug 13, 2010, at 11:41 AM, Greg Smith wrote:

> Bruce Momjian wrote:
>> We recomment 'data=writeback' for ext3 in our docs
>>
>
> Only for the WAL though, which is fine, and I think spelled out clearly
> enough in the doc section you quoted.  Ken's system has one big RAID
> volume, which means he'd be mounting the data files with 'writeback'
> too; that's the thing to avoid.
>
> --
> Greg Smith  2ndQuadrant US  Baltimore, MD
> PostgreSQL Training, Services and Support
> greg@2ndQuadrant.com   www.2ndQuadrant.us
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance


pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Can WINDOW be used?
Next
From: Greg Smith
Date:
Subject: Re: Advice configuring ServeRAID 8k for performance