pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Cc: Gregg Jaskiewicz <gryzman@gmail.com>
Cc: Greg Smith <greg@2ndquadrant.com>
Cc: postgres performance list <pgsql-performance@postgresql.org>
Cc: Niels Kristian Schjødt <nielskristian@autouncle.com>
Subject: Re: New server setup
Date: Thu, 14 Mar 2013 18:34:49 -0400
Message-ID: <20130314223449.GE28770@momjian.us> (raw)
In-Reply-To: <51424333.608@catalyst.net.nz>
References: <4D6D1410-2208-4DAA-BD64-69BE1FD94E55@autouncle.com>
	<513CADB7.4030803@2ndQuadrant.com>
	<CAJY59_jNGwrPceXg8k04=1VWTTZTFTPTh+jGHopx92c+17Cj1w@mail.gmail.com>
	<20130314185424.GA28770@momjian.us>
	<51424333.608@catalyst.net.nz>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On Fri, Mar 15, 2013 at 10:37:55AM +1300, Mark Kirkwood wrote:
> On 15/03/13 07:54, Bruce Momjian wrote:
> >Only use SSDs with a BBU cache, and don't set SSD caches to
> >write-through because an SSD needs to cache the write to avoid wearing
> >out the chips early, see:
> >
> >	http://momjian.us/main/blogs/pgblog/2012.html#August_3_2012
> >
> 
> I not convinced about the need for BBU with SSD - you *can* use them
> without one, just need to make sure about suitable longevity and
> also the presence of (proven) power off protection (as discussed
> previously). It is worth noting that using unproven or SSD known to
> be lacking power off protection with a BBU will *not* save you from
> massive corruption (or device failure) upon unexpected power loss.

I don't think any drive that corrupts on power-off is suitable for a
database, but for non-db uses, sure, I guess they are OK, though you
have to be pretty money-constrainted to like that tradeoff.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
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 (38+ messages)  latest in thread

Message-ID: <20130314223449.GE28770@momjian.us>
Permalink:  ../20130314223449.GE28770@momjian.us/
Also on:    postgresql.org/message-id/20130314223449.GE28770@momjian.us

 · 

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: bruce@momjian.us, mark.kirkwood@catalyst.net.nz, gryzman@gmail.com, greg@2ndquadrant.com, nielskristian@autouncle.com
  Subject: Re: New server setup
  In-Reply-To: <20130314223449.GE28770@momjian.us>

* 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