From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on
Date: Fri, 22 Nov 2002 10:01:52 -0500
Message-ID: <20021122100152.I27984@mail.libertyrms.com> (raw)
In-Reply-To: <23482.1037973168@sss.pgh.pa.us>
References: <Pine.LNX.4.33.0211211312240.23651-100000@css120.ihs.com>
<012201c2919f$fc4e1b40$0564a8c0@toolteam.net>
<200211220831.11599.mweilguni@sime.com>
<23482.1037973168@sss.pgh.pa.us>
On Fri, Nov 22, 2002 at 08:52:48AM -0500, Tom Lane wrote:
> Mario Weilguni <mweilguni@sime.com> writes:
> > If 4 drives are an option, I suggest 2 x RAID1, one for data, and one for WAL and temporary DB space (pg_temp).
>
> Ideally there should be *nothing* on the WAL drive except WAL; you don't
> ever want that disk head seeking away from the WAL. Put the temp files
> on the data disk.
Unless the interface and disks are so fast that it makes no
difference.
Try as I might, I can't make WAL go any faster on its own controller
and disks than if I leave it on the same filesystem as everything
else, on our production arrays. We use Sun A5200s, and I have tried
it set up with the WAL on separate disks on the box, and on separate
disks in the array, and even on separate disks on a separate
controller in the array (I've never tried it with two arrays, but I
don't have infinite money, either). I have never managed to
demonstrate a throughput difference outside the margin of error of my
tests. One arrangement -- putting the WAL on a separate pair of UFS
disks using RAID 1, but not on the fibre channel -- was demonstrably
slower than leaving the WAL in the data area.
Nothing is proved by this, of course, except that if you're going to
use high-performance hardware, you have to tune and test over and
over again. I was truly surprised that a separate pair of VxFS
RAID-1 disks in the array were no faster, but I guess it makes sense:
the array is just as busy in either case, and the disks are really
fast. I still don't really believe it, though.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
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: andrew@libertyrms.info, pgsql-performance@postgresql.org
Subject: Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on
In-Reply-To: <20021122100152.I27984@mail.libertyrms.com>
References: <Pine.LNX.4.33.0211211312240.23651-100000@css120.ihs.com> <012201c2919f$fc4e1b40$0564a8c0@toolteam.net> <200211220831.11599.mweilguni@sime.com> <23482.1037973168@sss.pgh.pa.us> <20021122100152.I27984@mail.libertyrms.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