pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: sergey <sergey.on.net@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: choosing the right RAID level for PostgresQL database
Date: Sun, 13 Feb 2011 18:23:19 -0500
Message-ID: <4D5867E7.1090409@2ndquadrant.com> (raw)
In-Reply-To: <AANLkTi=kYyOq-Y=pLaRSSLHg1vNZrjQ7HEr=PDs=yROb@mail.gmail.com>
References: <AANLkTi=kYyOq-Y=pLaRSSLHg1vNZrjQ7HEr=PDs=yROb@mail.gmail.com>

sergey wrote:
> I got a disk array appliance of 8 disks 1T each (UltraStor RS8IP4). It 
> will be used solely by PostgresQL database and I am trying to choose 
> the best RAID level for it.
> ..
> Space is the least important factor. Even 1T will be enough.

Use RAID10, measure the speed of the whole array using the bonnie++ ZCAV 
tool, and only use the fastest part of each array to store the important 
stuff.  You will improve worst-case performance in both sequential reads 
and seek time that way.  Drives are nearly twice as fast at their 
beginning as they are at the end, and with only 8 drives you should be 
able to setup a RAID10 array with all the fast parts aligned.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books




view thread (6+ messages)  latest in thread

Message-ID: <4D5867E7.1090409@2ndquadrant.com>
Permalink:  ../4D5867E7.1090409@2ndquadrant.com/
Also on:    postgresql.org/message-id/4D5867E7.1090409@2ndquadrant.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: greg@2ndquadrant.com, sergey.on.net@gmail.com
  Subject: Re: choosing the right RAID level for PostgresQL database
  In-Reply-To: <4D5867E7.1090409@2ndquadrant.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