Skip site navigation (1) Skip section navigation (2)

Re: Hardware vs Software RAID

From: Matthew Wakeling <matthew(at)flymine(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Hardware vs Software RAID
Date: 2008-06-25 13:03:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Wed, 25 Jun 2008, Merlin Moncure wrote:
>> Has anyone done some benchmarks between hardware RAID vs Linux MD software
>> RAID?
> I have here:
> The upshot is I don't really see a difference in performance.

The main difference is that you can get hardware RAID with 
battery-backed-up cache, which means small writes will be much quicker 
than software RAID. Postgres does a lot of small writes under some use 

Without a BBU cache, it is sensible to put the transaction logs on a 
separate disc system to the main database, to make the transaction log 
writes fast (due to no seeking on those discs). However, with a BBU cache, 
that advantage is irrelevant, as the cache will absorb the writes.

However, not all hardware RAID will have such a battery-backed-up cache, 
and those that do tend to have a hefty price tag.


$ rm core
Segmentation Fault (core dumped)

In response to


pgsql-performance by date

Next:From: Peter T. BreuerDate: 2008-06-25 13:11:23
Subject: Re: Hardware vs Software RAID
Previous:From: Merlin MoncureDate: 2008-06-25 12:52:21
Subject: Re: Hardware vs Software RAID

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group