Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGDIM-0008RH-PB for pgsql-performance@arkaria.postgresql.org; Thu, 14 Mar 2013 18:54:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UGDIM-0001HI-8p for pgsql-performance@arkaria.postgresql.org; Thu, 14 Mar 2013 18:54:30 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGDIL-0001HD-Fj for pgsql-performance@postgresql.org; Thu, 14 Mar 2013 18:54:29 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UGDIJ-0004nf-1N for pgsql-performance@postgresql.org; Thu, 14 Mar 2013 18:54:28 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1UGDIG-0002Jz-Vx; Thu, 14 Mar 2013 14:54:24 -0400 Date: Thu, 14 Mar 2013 14:54:24 -0400 From: Bruce Momjian To: Gregg Jaskiewicz Cc: Greg Smith , postgres performance list , Niels Kristian =?iso-8859-1?Q?Schj=F8dt?= Subject: Re: New server setup Message-ID: <20130314185424.GA28770@momjian.us> References: <4D6D1410-2208-4DAA-BD64-69BE1FD94E55@autouncle.com> <513CADB7.4030803@2ndQuadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On Tue, Mar 12, 2013 at 09:41:08PM +0000, Gregg Jaskiewicz wrote: > On 10 March 2013 15:58, Greg Smith wrote: > > On 3/1/13 6:43 AM, Niels Kristian Schjødt wrote: > > Hi, I'm going to setup a new server for my postgresql database, and I > am considering one of these: http://www.hetzner.de/hosting/ > produkte_rootserver/poweredge-r720 with four SAS drives in a RAID 10 > array. Has any of you any particular comments/pitfalls/etc. to mention > on the setup? My application is very write heavy. > > > The Dell PERC H710 (actually a LSI controller) works fine for write-heavy > workloads on a RAID 10, as long as you order it with a battery backup unit > module.  Someone must install the controller management utility and do > three things however: > > > We're going to go with either HP or IBM (customer's preference, etc).  > >   > > 1) Make sure the battery-backup unit is working. > > 2) Configure the controller so that the *disk* write cache is off. 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 -- Bruce Momjian 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