pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: [ADMIN] H/W RAID 5 on slower disks versus no
2+ messages / 1 participants
[nested] [flat]
* Re: [ADMIN] H/W RAID 5 on slower disks versus no
@ 2002-11-21 21:20 ` Josh Berkus <josh@agliodbs.com>
1 sibling, 0 replies; 2+ messages in thread
From: Josh Berkus @ 2002-11-21 21:20 UTC (permalink / raw)
To: Bjoern Metzdorf <bm@turtle-entertainment.de>; scott.marlowe <scott.marlowe@ihs.com>; +Cc: pgsql-performance@postgresql.org
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [ADMIN] H/W RAID 5 on slower disks versus no
@ 2002-11-21 21:21 ` Josh Berkus <josh@agliodbs.com>
1 sibling, 0 replies; 2+ messages in thread
From: Josh Berkus @ 2002-11-21 21:21 UTC (permalink / raw)
To: Bjoern Metzdorf <bm@turtle-entertainment.de>; scott.marlowe <scott.marlowe@ihs.com>; +Cc: pgsql-performance@postgresql.org
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 indexes), 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-11-21 21:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-21 21:20 ` Josh Berkus <josh@agliodbs.com>
2002-11-21 21:21 ` Josh Berkus <josh@agliodbs.com>
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