Re: 3 x PostgreSQL in cluster/redunant - Mailing list pgsql-general

From Jim C. Nasby
Subject Re: 3 x PostgreSQL in cluster/redunant
Date
Msg-id 20051115000924.GW18570@pervasive.com
Whole thread Raw
In response to Re: 3 x PostgreSQL in cluster/redunant  (Johnny Ljunggren <johnny@navtek.no>)
Responses Re: 3 x PostgreSQL in cluster/redunant  (Johnny Ljunggren <johnny@navtek.no>)
List pgsql-general
On Tue, Nov 15, 2005 at 12:09:40AM +0100, Johnny Ljunggren wrote:
> Jim C. Nasby wrote:
> >On Mon, Nov 14, 2005 at 07:36:44PM +0100, Michelle Konzack wrote:
> >>I have three Sun Server where I have reserved on each Server a Raid-5
>
> >Keep in mind that databases and RAID5 generally don't mix very well.
>
> oh, how come?
> What is the ideal setup of a database server when it comes to storage?

RAID5 has horrible write performance, especialy for random writes (which
is what databases tend to do). If you're running essentially a read-only
database then raid5 is OK. Otherwise you'll be much better off with
RAID10. You also want to put the WAL on a seperate set of drives from
the main database (though again that doesn't buy much if your database
is read-only).
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

pgsql-general by date:

Previous
From: William Yu
Date:
Subject: Re: Choosing PostgreSQL as the database for our next project
Next
From: Bruce Momjian
Date:
Subject: Re: Question about 8.1 release news