pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Andy <angelflow@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: BBU still needed with SSD?
Date: Mon, 18 Jul 2011 10:30:20 +0800
Message-ID: <4E239ABC.4020204@postnewspapers.com.au> (raw)
In-Reply-To: <1310953399.25726.YahooMailClassic@web111304.mail.gq1.yahoo.com>
References: <1310953399.25726.YahooMailClassic@web111304.mail.gq1.yahoo.com>

On 18/07/2011 9:43 AM, Andy wrote:
> Hi,
>
> Is BBU still needed with SSD?
You *need* an SSD with a supercapacitor or on-board battery backup for 
its cache. Otherwise you *will* lose data.

Consumer SSDs are like a hard disk attached to a RAID controller with 
write-back caching enabled and no BBU. In other words: designed to eat 
your data.

> In this case is BBU still needed? If I put 2 SSD in software RAID 1, would that be any slower than 2 SSD in HW RAID 1 with BBU? What are the pros and cons?
>
You don't need write-back caching for fsync() performance if your SSDs 
have big enough caches. I don't know enough to say whether there are 
other benefits to having them on a BBU HW raid controller or whether SW 
RAID is fine.

POST Newspapers
276 Onslow Rd, Shenton Park
Ph: 08 9381 3088     Fax: 08 9388 2258
ABN: 50 008 917 717
http://www.postnewspapers.com.au/



view thread (17+ messages)  latest in thread

Message-ID: <4E239ABC.4020204@postnewspapers.com.au>
Permalink:  ../4E239ABC.4020204@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4E239ABC.4020204@postnewspapers.com.au

 · 

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: craig@postnewspapers.com.au, angelflow@yahoo.com
  Subject: Re: BBU still needed with SSD?
  In-Reply-To: <4E239ABC.4020204@postnewspapers.com.au>

* 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