From: David Brown <time@bigpond.net.au>
To: Karim Nassar <Karim.Nassar@acm.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: What's better: Raid 0 or disk for seperate pg_xlog
Date: Fri, 11 Mar 2005 00:14:36 +1000
Message-ID: <4230564C.3090906@bigpond.net.au> (raw)
In-Reply-To: <1110440684.6368.163.camel@k2.cet.nau.edu>
References: <1110440684.6368.163.camel@k2.cet.nau.edu>
Karim Nassar wrote:
>Context: I have a two disk server that is about to become dedicated to
>postgresql (it's a sun v40z running gentoo linux).
>
>What's "theoretically better"?
>
>1) OS and pg_xlog on one disk, rest of postgresql on the other? (if I
> understand the above correctly)
>2) Everything striped Raid 0?
>
How lucky are you feeling? If you don't mind doubling your chances of
data loss (a bit worse than that because recovery is nearly impossible),
go ahead and use RAID 0 (which of course is not RAID by definition).
The WAL on a separate disk is your best bet if the problem is slow updates.
If prevention of data loss is a consideration, RAID 1 (mirroring) is the
answer.
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: time@bigpond.net.au, Karim.Nassar@acm.org
Subject: Re: What's better: Raid 0 or disk for seperate pg_xlog
In-Reply-To: <4230564C.3090906@bigpond.net.au>
* 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