pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <decibel@decibel.org>
To: Josh Berkus <josh@agliodbs.com>
Cc: ricardo@sqlmagazine.com.br
Cc: pgsql-performance@postgresql.org
Cc: br@postgresql.org
Subject: Re: Article about PostgreSQL and RAID in Brazil
Date: Thu, 16 Sep 2004 17:19:43 -0500
Message-ID: <20040916221943.GJ56059@decibel.org> (raw)
In-Reply-To: <200409161407.37669.josh@agliodbs.com>
References: <200409161050.33289.josh@agliodbs.com>
	<20040916204853.GF56059@decibel.org>
	<200409161407.37669.josh@agliodbs.com>

On Thu, Sep 16, 2004 at 02:07:37PM -0700, Josh Berkus wrote:
> Jim,
> 
> > What about benefits from putting WAL and pg_temp on seperate drives?
> > Specifically, we have a box with 8 drives, 2 in a mirror with the OS and
> > WAL and pg_temp; the rest in a raid10 with the database on it. Do you
> > think it would have been better to make one big raid10? What if it was
> > raid5? And what if it was only 6 drives total?
> 
> OSDL's finding was that even with a large RAID array, it still benefits you to 
> have WAL on a seperate disk resource ... substantially, like 10% total 
> performance.    However, your setup doesn't get the full possible benefit, 
> since WAL is sharing the array with other resources.
 
Yes, but if a 3 drive raid array is 40% slower than a single disk it
seems like the 10% benefit for having WAL on a seperate drive would
still be a losing proposition.

BTW, my experience with our setup is that the raid10 is almost always
the IO bottleneck, and not the mirror with everything else on it.
-- 
Jim C. Nasby, Database Consultant               decibel@decibel.org 
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"



view thread (10+ messages)  latest in thread

Message-ID: <20040916221943.GJ56059@decibel.org>
Permalink:  ../20040916221943.GJ56059@decibel.org/
Also on:    postgresql.org/message-id/20040916221943.GJ56059@decibel.org

 · 

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: decibel@decibel.org, josh@agliodbs.com, ricardo@sqlmagazine.com.br, br@postgresql.org
  Subject: Re: Article about PostgreSQL and RAID in Brazil
  In-Reply-To: <20040916221943.GJ56059@decibel.org>

* 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