Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UEieH-0007gA-Fb for pgsql-performance@arkaria.postgresql.org; Sun, 10 Mar 2013 15:58:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UEieG-0000FX-EF for pgsql-performance@arkaria.postgresql.org; Sun, 10 Mar 2013 15:58:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UEieF-0000FR-Ec for pgsql-performance@postgresql.org; Sun, 10 Mar 2013 15:58:55 +0000 Received: from moutng.kundenserver.de ([212.227.17.9]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UEieC-0007j6-6w for pgsql-performance@postgresql.org; Sun, 10 Mar 2013 15:58:54 +0000 Received: from [192.168.1.110] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LrsY2-1Utqtj2ctK-013uLu; Sun, 10 Mar 2013 16:58:50 +0100 Message-ID: <513CADB7.4030803@2ndQuadrant.com> Date: Sun, 10 Mar 2013 11:58:47 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: pgsql-performance@postgresql.org, nielskristian@autouncle.com Subject: Re: New server setup References: <4D6D1410-2208-4DAA-BD64-69BE1FD94E55@autouncle.com> In-Reply-To: <4D6D1410-2208-4DAA-BD64-69BE1FD94E55@autouncle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:FoTQ0r7gNaKG/xC0HKavJeRq54QD8Lm50mEBcQXgucO 0wEcSUrfrBGbDyBBID6cPIgVQCMSLh0B1DVz/JjxoMuncNCyP6 Gs8elAqIDOBMLsN9I9BKp033QymQ0AXvpJ/kGfFx10IrqAoBGH ZmBszODecVP20yt4Akne/gDdN6AuiO9oqtkijUT97VR9cc8SqN EnmrOlEUTe9xdmIN+UV4s19B9HnSv+6fDaAqc38COLv/5kUS/D xXHAX8QtvIvBQpjkAIsyeZ2vD9SdO0rB3J64/s6ZGMXB0dfUrk adOlctG5P88zfwvSrOiYEX7MK/OvoK4Ow6AheadfytmfIkMxaK NHT1WB/OWkp6jO80lmgg= X-Pg-Spam-Score: -1.9 (-) 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 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: 1) Make sure the battery-backup unit is working. 2) Configure the controller so that the *disk* write cache is off. 3) Set the controller cache to "write-back when battery is available". That will use the cache when it is safe to do so, and if not it will bypass it. That will make the server slow down if the battery fails, but it won't ever become unsafe at writing. See http://wiki.postgresql.org/wiki/Reliable_Writes for more information about this topic. If you'd like some consulting help with making sure the server is working safely and as fast as it should be, 2ndQuadrant does offer a hardware benchmarking service to do that sort of thing: http://www.2ndquadrant.com/en/hardware-benchmarking/ I think we're even generating those reports in German now. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance