Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8yMa-0000zP-2f for pgsql-admin@arkaria.postgresql.org; Mon, 12 Aug 2013 20:05:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V8yMZ-00069f-EC for pgsql-admin@arkaria.postgresql.org; Mon, 12 Aug 2013 20:05:11 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8yMY-00069H-Ie for pgsql-admin@postgresql.org; Mon, 12 Aug 2013 20:05:10 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8yMV-0003ZM-Nz for pgsql-admin@postgresql.org; Mon, 12 Aug 2013 20:05:09 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1V8yMS-0004UI-RR; Mon, 12 Aug 2013 16:05:04 -0400 Date: Mon, 12 Aug 2013 16:05:04 -0400 From: Bruce Momjian To: "Joshua D. Drake" Cc: "David F. Skoll" , pgsql-admin@postgresql.org Subject: Re: Opinions on SSDs Message-ID: <20130812200504.GA12496@momjian.us> References: <20130812112833.65a97285@hydrogen.roaringpenguin.com> <52090030.4000503@commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52090030.4000503@commandprompt.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Mon, Aug 12, 2013 at 08:33:04AM -0700, Joshua D. Drake wrote: > >1) Has anyone had experience with Intel 520 SSDs? Are they reliable? > >When they fail, do they fail nicely (ie, failure detected and bad drive > >removed from RAID array) or horribly (data silently corrupted...) ? > > I don't recall if the 520s have powerloss protection but you will > want to check that. I am pretty sure they don't. The only options are the Intel 320 and 710, I think. Here is a blog about it: http://blog.2ndquadrant.com/intel_ssds_lifetime_and_the_32/ Look for "Enhanced Power Loss Data Protection". Intel does not make it easy to find all drive that have it --- you have to look at each spec sheet. > >2) Is this RAID arrangement sensible? I've seen reports where some > >people keep the pg_xlog directory on a separate RAID array, but I > >don't really see the advantage with SSDs. > > Put the pg_xlog on spindles, they are more than fast enough and > won't eat up the write life of your SSDs. Given its small size and need for fast fsync, I have WAL on SSDs, and the data on magnetic disk. You are right the WAL can generate a lot of writes, but just use smartctl monitoring and replace the SSD when needed. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin