Unix Technical Forum

Re: opinion on disk speed

This is a discussion on Re: opinion on disk speed within the Pgsql Performance forums, part of the PostgreSQL category; --> > one other note, you probably don't want to use all the disks in a raid10 > array, you ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:45 AM
Jeremy Haile
 
Posts: n/a
Default Re: opinion on disk speed

> one other note, you probably don't want to use all the disks in a raid10
> array, you probably want to split a pair of them off into a seperate
> raid1 array and put your WAL on it.


Is a RAID 1 array of two disks sufficient for WAL? What's a typical
setup for a high performance PostgreSQL installation? RAID 1 for WAL
and RAID 10 for data?

I've read that splitting the WAL and data offers huge performance
benefits. How much additional benefit is gained by moving indexes to
another RAID array? Would you typically set the indexes RAID array up
as RAID 1 or 10?



---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 07:45 AM
Frank Wiles
 
Posts: n/a
Default Re: opinion on disk speed

On Fri, 09 Dec 2005 09:15:25 -0500
"Jeremy Haile" <jhaile@fastmail.fm> wrote:

> > one other note, you probably don't want to use all the disks in a
> > raid10 array, you probably want to split a pair of them off into a
> > seperate raid1 array and put your WAL on it.

>
> Is a RAID 1 array of two disks sufficient for WAL? What's a typical
> setup for a high performance PostgreSQL installation? RAID 1 for WAL
> and RAID 10 for data?
>
> I've read that splitting the WAL and data offers huge performance
> benefits. How much additional benefit is gained by moving indexes to
> another RAID array? Would you typically set the indexes RAID array up
> as RAID 1 or 10?


Yes most people put the WAL on a RAID 1 and use all the remaining
disks in RAID 10 for data.

Whether or not moving your indexes onto a different RAID array is
worthwhile is harder to judge. If your indexes are small enough
that they will usually be in ram, but your data is to large to
fit then having the extra spindles available on the data partition
is probably better.

As always, it is probably best to test both configurations to see
which is optimal for your particular application and setup.

---------------------------------
Frank Wiles <frank@wiles.org>
http://www.wiles.org
---------------------------------


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com