Re: Reliability with RAID 10 SSD and Streaming Replication - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: Reliability with RAID 10 SSD and Streaming Replication
Date
Msg-id CAHyXU0y76QkB70kmUk4a7DOfXaN+Gi7NEbWwh-QnhdEy6T-MWQ@mail.gmail.com
Whole thread Raw
In response to Re: Reliability with RAID 10 SSD and Streaming Replication  (David Rees <drees76@gmail.com>)
Responses Re: Reliability with RAID 10 SSD and Streaming Replication
List pgsql-performance
On Fri, May 17, 2013 at 1:34 AM, David Rees <drees76@gmail.com> wrote:
> On Thu, May 16, 2013 at 7:46 AM, Cuong Hoang <climbingrose@gmail.com> wrote:
>> For our application, a few seconds of data loss is acceptable.
>
> If a few seconds of data loss is acceptable, I would seriously look at
> the synchronous_commit setting and think about turning that off rather
> than risk silent corruption with non-enterprise SSDs.

That is not going to help.  Since the drives lie about fsync, upon a
power event you must assume the database is corrupt.  I think his
proposed configuration is the best bet (although I would strongly
consider putting SSD on the standby as well).   Personally, I think
non SSD drives are obsolete for database purposes and will not
recommend them for any configuration.  Ideally though, OP would be
using S3700 and we wouldn't be having this conversation.

merlin


pgsql-performance by date:

Previous
From: Rob Emery
Date:
Subject: Deleting Rows From Large Tables
Next
From: Merlin Moncure
Date:
Subject: Re: Reliability with RAID 10 SSD and Streaming Replication