Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8z2E-00031C-3H for pgsql-admin@arkaria.postgresql.org; Mon, 12 Aug 2013 20:48:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V8z2D-0001dM-IP for pgsql-admin@arkaria.postgresql.org; Mon, 12 Aug 2013 20:48:13 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8z2C-0001bM-7v for pgsql-admin@postgresql.org; Mon, 12 Aug 2013 20:48:12 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8z29-0004Ns-7o for pgsql-admin@postgresql.org; Mon, 12 Aug 2013 20:48:11 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1V8z28-0006To-SX; Mon, 12 Aug 2013 16:48:08 -0400 Date: Mon, 12 Aug 2013 16:48:08 -0400 From: Bruce Momjian To: "David F. Skoll" Cc: pgsql-admin@postgresql.org Subject: Re: Opinions on SSDs Message-ID: <20130812204808.GB12496@momjian.us> References: <20130812112833.65a97285@hydrogen.roaringpenguin.com> <52090030.4000503@commandprompt.com> <20130812200504.GA12496@momjian.us> <20130812164148.44a60096@hydrogen.roaringpenguin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130812164148.44a60096@hydrogen.roaringpenguin.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.8 (--) 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 04:41:48PM -0400, David F. Skoll wrote: > On Mon, 12 Aug 2013 16:05:04 -0400 > Bruce Momjian wrote: > > > On Mon, Aug 12, 2013 at 08:33:04AM -0700, Joshua D. Drake wrote: > > > > 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. > > :-) Nothing like consensus from Pg luminaries. :) > > Anyway, I've decided to go with spinning disks for this server upgrade. The > factors behind my decision: > > o A server with 16 10Krpm disks will be substantially better than what we > have now, and what we have now is managing to keep up with only occasional > over-busy periods. > > o My supplier cannot easily get the 320, 710 or S3700 Intel SSD disks; he > claims a shortage of Intel SSD drives. I know too little about non-Intel > SSDs to feel comfortable with them. > > o One of our two database servers is 200km away, so swapping out SSDs on > a prophylactic basis is not particularly appetizing. Good point on the travel distance. For my server, I didn't go with a RAID controller with a battery-backed unit (BBU), so SSDs for WAL made complete sense for me. FYI, your CPUs exactly matches mine: http://momjian.us/main/blogs/pgblog/2012.html#January_20_2012 -- 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