Re: [ADMIN] H/W RAID 5 on slower disks versus no
Josh Berkus <josh@agliodbs.com>
From: "Josh Berkus" <josh@agliodbs.com>
To: "Bjoern Metzdorf" <bm@turtle-entertainment.de>, "scott.marlowe" <scott.marlowe@ihs.com>
Cc: <pgsql-performance@postgresql.org>
Date: 2002-11-21T21:20:56Z
Lists: pgsql-performance
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