X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A11E7D1BCAE for ; Wed, 17 Dec 2003 06:19:43 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 73570-07 for ; Wed, 17 Dec 2003 02:19:12 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 2857CD1CCCD for ; Wed, 17 Dec 2003 02:19:11 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hBH6JCb02594; Wed, 17 Dec 2003 01:19:12 -0500 (EST) From: Bruce Momjian Message-Id: <200312170619.hBH6JCb02594@candle.pha.pa.us> Subject: Re: Postgresql on software RAID In-Reply-To: <3FDFDBCC.6060609@kmtel.com> To: pspinler@yahoo.com Date: Wed, 17 Dec 2003 01:19:12 -0500 (EST) Cc: pgsql-admin@postgresql.org, Adam Witney X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/231 X-Sequence-Number: 11737 Patrick Spinler wrote: > Adam Witney wrote: > > Hi all, > > > > I am experimenting with a few OS's for my new hardware. I plan to have a > > software RAID5 device for my pgsql data directory. > > > > I have been experimenting with FreeBSD and with Linux, does anyone have any > > thoughts on whether vinum RAID devices are better than Linux software RAID? > > Or vice versa... Or no difference at all? Any gotchas I should bear in mind? > > > > Of interest, there are a number of "old school" dba's of my aquantance > who swear vociferously whenever the words RAID 5 and Database are > mentioned in association with each other. > > According to the theory they expound, a database with any significant > write activity whatsoever should never be on raid 5, but instead be on > raid 0+1. > > I've never had a chance to benchmark a comparison between the two and > draw my own conclusions, but it might be interesting to do so. I have heard you need +6 disks for RAID5 to be faster than Raid 0+1. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073