| From: | David Brown <time(at)bigpond(dot)net(dot)au> |
|---|---|
| To: | Karim Nassar <Karim(dot)Nassar(at)acm(dot)org> |
| Cc: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: What's better: Raid 0 or disk for seperate pg_xlog |
| Date: | 2005-03-10 14:14:36 |
| Message-ID: | 4230564C.3090906@bigpond.net.au |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John A Meinel | 2005-03-10 15:26:51 | Re: What's better: Raid 0 or disk for seperate pg_xlog |
| Previous Message | Karim Nassar | 2005-03-10 07:44:44 | What's better: Raid 0 or disk for seperate pg_xlog |