X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 17BB4D1B4FC for ; Fri, 12 Sep 2003 16:56:19 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 19117-02 for ; Fri, 12 Sep 2003 13:55:47 -0300 (ADT) Received: from cmailm3.svr.pol.co.uk (cmailm3.svr.pol.co.uk [195.92.193.19]) by svr1.postgresql.org (Postfix) with ESMTP id D75F4D1B4F6 for ; Fri, 12 Sep 2003 13:55:45 -0300 (ADT) Received: from user-2040.bbd23tcl.dsl.pol.co.uk ([81.77.247.248] helo=rj) by cmailm3.svr.pol.co.uk with esmtp (Exim 4.14) id 19xrCy-0005af-Sz; Fri, 12 Sep 2003 17:55:44 +0100 From: Richard Jones Reply-To: rj@last.fm Organization: Last.FM To: Christopher Browne , pgsql-performance@postgresql.org Subject: Re: best arrangement of 3 disks for (insert) performance Date: Fri, 12 Sep 2003 17:55:40 +0100 User-Agent: KMail/1.5.1 References: <200309121126.29756.rj@last.fm> <60fzj2t4g6.fsf@dev6.int.libertyrms.info> In-Reply-To: <60fzj2t4g6.fsf@dev6.int.libertyrms.info> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200309121755.40826.rj@last.fm> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/202 X-Sequence-Number: 3568 The machine is coming from dell, and i have the option of a=20 PERC 3/SC RAID Controller (32MB) or software raid. does anyone have any experience of this controller?=20 its an additional =A3345 for this controller, i'd be interested to know wha= t=20 people think - my other option is to buy the raid controller separately,=20 which appeals to me but i wouldnt know what to look for in a raid controlle= r. that raid controller review site sounds like a good idea :) Richard. On Friday 12 September 2003 4:24 pm, Christopher Browne wrote: > rj@last.fm (Richard Jones) writes: > > I have some new hardware on the way and would like some advice on > > how to get the most out of it.. > > > > its a dual xeon 2.4, 4gb ram and 3x identical 15k rpm scsi disks > > > > should i mirror 2 of the disks for postgres data, and use the 3rd > > disk for the o/s and the pg logs or raid5 the 3 disks or even stripe > > 2 disks for pg and use the 3rd for o/s,logs,backups ? > > > > the machine will be dealing with lots of inserts, basically as many > > as we can throw at it > > Having WAL on a separate drive from the database would be something of > a win. I'd buy that 1 disk for OS+WAL and then RAID [something] > across the other two drives for the database would be pretty helpful. > > After doing some [loose] benchmarking, the VERY best way to improve > performance would involve a RAID controller with battery-backed cache. > > On a box with similar configuration to yours, it took ~3h for a > particular set of data to load; on another one with battery-backed > cache (and a dozen fast SCSI drives :-)), the same data took as little > as 6 minutes to load. The BIG effect seemed to come from the > controller.