From: Ron <rjpeace@earthlink.net>
To: Joshua D. Drake <jd@commandprompt.com>
To: pgsql-performance@postgresql.org
Subject: Re: RAID Configuration Sugestion
Date: Tue, 30 Aug 2005 19:02:28 -0400
Message-ID: <6.2.3.4.0.20050830154823.05ac9308@pop.earthlink.net> (raw)
In-Reply-To: <4314B329.20009@commandprompt.com>
References: <431452FD.3090402@atua.com.br>
<6.2.3.4.0.20050830103240.0219b640@pop.earthlink.net>
<43148FC4.4000407@commandprompt.com>
<6.2.3.4.0.20050830132902.021a5308@pop.earthlink.net>
<4314B329.20009@commandprompt.com>
At 03:27 PM 8/30/2005, Joshua D. Drake wrote:
>>>If you still have the budget, I would suggest considering either
>>>what Ron suggested or possibly using a 4 drive RAID 10 instead.
>>
>>
>>IME, with only 4 HDs, it's usually better to split them them into
>>two RAID 1's (one for the db, one for everything else including the
>>logs) than it is to put everything on one RAID 10. YMMV.
>
>Really? That's interesting. My experience is different, I assume
>SCSI? Software/Hardware Raid?
The issue exists regardless of technologies used, although the
technology used does affect when things become an irritation or
serious problem.
The issue with "everything on the same HD set" seems to be that under
light loads anything works reasonably well, but as load increases
contention between DB table access, OS access, and xlog writes can
cause performance problems.
In particular, _everything_ else hangs while logs are being written
with "everything on the same HD set". Thus leaving you with the
nasty choices of small log writes that cause more seeking behavior,
and the resultant poor overall HD IO performance, or large log writes
that basically freeze the server until they are done.
Having the logs on a different HD, and if possible different IO bus,
reduces this effect to a minimum and seems to be a better choice than
the "shared everything" approach.
Although this effect seems largest when there are fewest HDs, the
general pattern is that one should use as many spindles as one can
make use of and that they should be as dedicated as possible in their
purpose(s). That's why the TPC bench marked systems tend to have
literally 100's of HD's and they tend to be split into very focused purposes.
Ron Peacetree
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: rjpeace@earthlink.net, jd@commandprompt.com
Subject: Re: RAID Configuration Sugestion
In-Reply-To: <6.2.3.4.0.20050830154823.05ac9308@pop.earthlink.net>
References: <431452FD.3090402@atua.com.br> <6.2.3.4.0.20050830103240.0219b640@pop.earthlink.net> <43148FC4.4000407@commandprompt.com> <6.2.3.4.0.20050830132902.021a5308@pop.earthlink.net> <4314B329.20009@commandprompt.com> <6.2.3.4.0.20050830154823.05ac9308@pop.earthlink.net>
* 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