pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: david@lang.hm
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: Gregory Stark <stark@enterprisedb.com>
Cc: Andrej Ricnik-Bay <andrej.groups@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: What is the best way to storage music files in Postgresql
Date: Tue, 18 Mar 2008 16:09:59 -0700 (PDT)
Message-ID: <alpine.DEB.1.00.0803181606140.21250@asgard.lang.hm> (raw)
In-Reply-To: <47E047B0.3090100@postnewspapers.com.au>
References: <8fb205ea0803152311n2c950758g253f4cefd20cff7d@mail.gmail.com>
	<47DCBD63.9050109@postnewspapers.com.au>
	<4544e0330803171101g680ffa5bj8ac32908a9f3dfb5@mail.gmail.com>
	<8fb205ea0803171139h63b55fdrf62776851583a74d@mail.gmail.com>
	<4544e0330803172026h3eae59a1u8914bda1a5a95bb5@mail.gmail.com>
	<b35603930803180213v6a3c2e64i8a65eca5472c0b49@mail.gmail.com>
	<47DF9278.70605@postnewspapers.com.au>
	<b35603930803181044y666f0e7r66b6d2606812a354@mail.gmail.com>
	<alpine.DEB.1.00.0803181104010.21250@asgard.lang.hm>
	<87bq5blsr6.fsf@oxford.xeocode.com>
	<alpine.DEB.1.00.0803181259540.21250@asgard.lang.hm>
	<47E047B0.3090100@postnewspapers.com.au>

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



view thread (21+ messages)  latest in thread

Message-ID: <alpine.DEB.1.00.0803181606140.21250@asgard.lang.hm>
Permalink:  ../alpine.DEB.1.00.0803181606140.21250@asgard.lang.hm/
Also on:    postgresql.org/message-id/alpine.DEB.1.00.0803181606140.21250@asgard.lang.hm

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: david@lang.hm, craig@postnewspapers.com.au, stark@enterprisedb.com, andrej.groups@gmail.com
  Subject: Re: What is the best way to storage music files in Postgresql
  In-Reply-To: <alpine.DEB.1.00.0803181606140.21250@asgard.lang.hm>
  References: <8fb205ea0803152311n2c950758g253f4cefd20cff7d@mail.gmail.com> <47DCBD63.9050109@postnewspapers.com.au> <4544e0330803171101g680ffa5bj8ac32908a9f3dfb5@mail.gmail.com> <8fb205ea0803171139h63b55fdrf62776851583a74d@mail.gmail.com> <4544e0330803172026h3eae59a1u8914bda1a5a95bb5@mail.gmail.com> <b35603930803180213v6a3c2e64i8a65eca5472c0b49@mail.gmail.com> <47DF9278.70605@postnewspapers.com.au> <b35603930803181044y666f0e7r66b6d2606812a354@mail.gmail.com> <alpine.DEB.1.00.0803181104010.21250@asgard.lang.hm> <87bq5blsr6.fsf@oxford.xeocode.com> <alpine.DEB.1.00.0803181259540.21250@asgard.lang.hm> <47E047B0.3090100@postnewspapers.com.au> <alpine.DEB.1.00.0803181606140.21250@asgard.lang.hm>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox