pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Bjoern Metzdorf <bm@turtle-entertainment.de>
To: scott.marlowe <scott.marlowe@ihs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: [ADMIN] H/W RAID 5 on slower disks versus no
Date: Thu, 21 Nov 2002 13:20:56 -0800
Message-ID: <web-1836145@davinci.ethosmedia.com> (raw)
In-Reply-To: <012201c2919f$fc4e1b40$0564a8c0@toolteam.net>

Bjoern,

> Good to know.
> 
> What do you think is faster: 3 drives in raid 1 or 3 drives in raid
> 5?

My experience?  Raid 1.  But that depends on other factors as well;
your controller (software controllers use system RAM and thus lower
performance), what kind of reads you're getting and how often.  IMHO,
RAID 5 is faster for sequential reads (lareg numbers of records on
clustered tables), RAID 1 for random reads.

And keep in mind: RAID 5 is *bad* for data writes.  In my experience,
database data-write performance on RAID 5 UW SCSI is as slow as IDE
drives, particulary for updating large numbers of records, *unless* the
updated records are sequentially updated and clustered.

But in a multi-user write-often setup, RAID 5 will slow you down and
RAID 1 is better.

Did that help?

-Josh Berkus



view thread (2+ messages)  latest in thread

Message-ID: <web-1836145@davinci.ethosmedia.com>
Permalink:  ../web-1836145@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-1836145@davinci.ethosmedia.com

 · 

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-admin@postgresql.org
  Cc: josh@agliodbs.com, bm@turtle-entertainment.de, scott.marlowe@ihs.com, pgsql-performance@postgresql.org
  Subject: Re: [ADMIN] H/W RAID 5 on slower disks versus no
  In-Reply-To: <web-1836145@davinci.ethosmedia.com>
  References: <012201c2919f$fc4e1b40$0564a8c0@toolteam.net> <web-1836145@davinci.ethosmedia.com>

* 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