pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: Rajesh Kumar Mallah. <mallah@trade-india.com>
Cc: Steve Crawford <scrawford@pinpointresearch.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on
Date: Thu, 21 Nov 2002 12:39:09 -0700 (MST)
Message-ID: <Pine.LNX.4.33.0211211235280.23530-100000@css120.ihs.com> (raw)
In-Reply-To: <200211220038.43950.mallah@trade-india.com>

On Fri, 22 Nov 2002, Rajesh Kumar Mallah. wrote:

> 
> 
> Thanks Steve,
> 
> recently i have come to know that i can only get 3*18 GB ultra160 10K
> hraddrives,
> 
> my OS is lunux , other parameters are
> RAM:2GB , CPU:2*2Ghz Xeon,
> 
> i feel i will do away with raid use one disk for the OS 
> and pg_dumps
> 
> , one for tables and last one for WAL , does this sound good?

That depends.  Are you going to be mostly reading, mostly updating, or an 
even mix of both?

If you are going to be 95% reading, then don't bother moving WAL to 
another drive, install the OS on the first 2 or 3 gigs of each drive, then 
make a RAID5 out of what's left over and put everything on that.  

If you're going to be mostly updating, then yes, your setup is a pretty 
good choice.  

If it will be mostly mixed, look at using a software RAID1.

More important will be tuning your database once it's up, i.e. increasing 
shared buffers, setting random page costs to reflect what percentage of 
your dataset is likely to be cached (the closer you come to caching your 
whole dataset, the closer random page cost approaches 1)






view thread (33+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0211211235280.23530-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0211211235280.23530-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0211211235280.23530-100000@css120.ihs.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 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: scott.marlowe@ihs.com, mallah@trade-india.com, scrawford@pinpointresearch.com, pgsql-performance@postgresql.org
  Subject: Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on
  In-Reply-To: <Pine.LNX.4.33.0211211235280.23530-100000@css120.ihs.com>
  References: <200211220038.43950.mallah@trade-india.com> <Pine.LNX.4.33.0211211235280.23530-100000@css120.ihs.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