pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: What to do with 6 disks?
Date: Tue, 19 Apr 2005 20:07:33 -0700
Message-ID: <200504192007.33512.josh@agliodbs.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0504191756280.25755@discord.dyndns.org>
References: <200504191610.j3JGAM820841@candle.pha.pa.us>
	<20050420001523.GU58835@decibel.org>
	<Pine.LNX.4.62.0504191756280.25755@discord.dyndns.org>

Jeff,

> Let's say you had a server with 6 separate 15k RPM SCSI disks, what raid
> option would you use for a standalone postgres server?
>
> a) 3xRAID1 - 1 for data, 1 for xlog, 1 for os?
> b) 1xRAID1 for OS/xlog, 1xRAID5 for data
> c) 1xRAID10 for OS/xlong/data
> d) 1xRAID1 for OS, 1xRAID10 for data
> e) .....
>
> I was initially leaning towards b, but after talking to Josh a bit, I
> suspect that with only 4 disks the raid5 might be a performance detriment
> vs 3 raid 1s or some sort of split raid10 setup.

Knowing that your installation is read-heavy, I'd recommend (d), with the WAL 
on the same disk as the OS, i.e.

RAID1 2 disks OS, pg_xlog
RAID 1+0 4 disks pgdata

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (5+ messages)  latest in thread

Message-ID: <200504192007.33512.josh@agliodbs.com>
Permalink:  ../200504192007.33512.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200504192007.33512.josh@agliodbs.com

 · 

reply

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: josh@agliodbs.com, jeff@frostconsultingllc.com
  Subject: Re: What to do with 6 disks?
  In-Reply-To: <200504192007.33512.josh@agliodbs.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