Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1EB802E0082 for ; Tue, 18 Mar 2008 20:06:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 62181-10 for ; Tue, 18 Mar 2008 20:06:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from bifrost.lang.hm (mail.lang.hm [64.81.33.126]) by postgresql.org (Postfix) with ESMTP id E87CE2E002D for ; Tue, 18 Mar 2008 20:06:17 -0300 (ADT) Received: from asgard.lang.hm (asgard.lang.hm [10.0.0.100]) by bifrost.lang.hm (8.13.4/8.13.4/Debian-3) with ESMTP id m2IN67sY031233; Tue, 18 Mar 2008 15:06:07 -0800 Date: Tue, 18 Mar 2008 16:09:59 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard.lang.hm To: Craig Ringer cc: Gregory Stark , Andrej Ricnik-Bay , pgsql-performance@postgresql.org Subject: Re: What is the best way to storage music files in Postgresql In-Reply-To: <47E047B0.3090100@postnewspapers.com.au> Message-ID: References: <8fb205ea0803152311n2c950758g253f4cefd20cff7d@mail.gmail.com> <47DCBD63.9050109@postnewspapers.com.au> <4544e0330803171101g680ffa5bj8ac32908a9f3dfb5@mail.gmail.com> <8fb205ea0803171139h63b55fdrf62776851583a74d@mail.gmail.com> <4544e0330803172026h3eae59a1u8914bda1a5a95bb5@mail.gmail.com> <47DF9278.70605@postnewspapers.com.au> <87bq5blsr6.fsf@oxford.xeocode.com> <47E047B0.3090100@postnewspapers.com.au> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/386 X-Sequence-Number: 29340 On Wed, 19 Mar 2008, Craig Ringer wrote: > david@lang.hm wrote: >> you can? I've never seen a raid 5 setup with more then a single parity >> dirve (or even the option of having more then one drives worth of >> redundancy). you can have hot-spare drives, but thats a different thing. >> > With RAID 4, where the "parity drives" are in fact dedicated to parity > information, the controller could just store the parity data mirrored on more > than one drive. Unfortunately write performance on RAID 4 is absolutely > horrible, and a second or third parity disk would not help with that. > > I suppose there's nothing stopping a controller adding a second disk's worth > of duplicate parity information when striping a four or more disk RAID 5 > array, but I thought that's basically what RAID 6 was. just duplicating the Raid 4 or 5 pairity information will not help you if the parity drive is not one of the drives that fail. raid 6 uses a different pairity algorithm so that any two drives in the array can fail with no data loss. even this isn't completely error proof. I just went through a scare with a 15 disk array where it reported 3 dead drives after a power outage. one of the dead drives ended up being the hot-spare, and another drive that acted up worked well enough to let me eventually recover all the data (seek errors), but it was a very scary week while I worked through this. David Lang