pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: climbingrose@gmail.com
Cc: Tomas Vondra <tv@fuzzy.cz>
Cc: pgsql-performance@postgresql.org
Subject: Re: Reliability with RAID 10 SSD and Streaming Replication
Date: Fri, 17 May 2013 13:34:40 +1200
Message-ID: <51958930.1010103@catalyst.net.nz> (raw)
In-Reply-To: <51957499.6050905@fuzzy.cz>
References: <CAAE-9WHMycEZOB5J6HKME5AZLEdL2hYF+FV8hzbLksJinq=EJg@mail.gmail.com>
	<51957499.6050905@fuzzy.cz>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 17/05/13 12:06, Tomas Vondra wrote:
> Hi,
>
> On 16.5.2013 16:46, Cuong Hoang wrote:

>> Pro for the master server. I'm aware of write cache issue on SSDs in
>> case of power loss. However, our hosting provider doesn't offer any
>> other choices of SSD drives with supercapacitor. To minimise risk, we
>> will also set up another RAID 10 SAS in streaming replication mode. For
>> our application, a few seconds of data loss is acceptable.
>
> Streaming replication allows zero data loss if used in synchronous mode.
>

I'm not sure synchronous replication is really an option here as it will 
slow the master down to spinning disk io speeds, unless the standby is 
configured with SSDs as well - which probably defeats the purpose of 
this setup.

On the other hand, if the system is so loaded that a pure SAS (spinning 
drive) solution can't keen up, then the standby lag may get to be way 
more than a few seconds...which means look out for huge data loss.

I'd be inclined to apply more leverage to hosting provider to source 
SSDs suitable for your needs, or change hosting providers.

Regards

Mark


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (52+ messages)  latest in thread

Message-ID: <51958930.1010103@catalyst.net.nz>
Permalink:  ../51958930.1010103@catalyst.net.nz/
Also on:    postgresql.org/message-id/51958930.1010103@catalyst.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mark.kirkwood@catalyst.net.nz, climbingrose@gmail.com, tv@fuzzy.cz
  Subject: Re: Reliability with RAID 10 SSD and Streaming Replication
  In-Reply-To: <51958930.1010103@catalyst.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox