Re: Database storage

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database storage
Date: 2009-07-10 14:43:02
Message-ID: 4A575376.6060309@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

nabble(dot)30(dot)miller_2555(at)spamgourmet(dot)com wrote:
> The database server is a quad core machine, so it sounds as though
> software RAID should work fine for the present setup. However, it
> sounds as though I should put some money into a hardware RAID
> controller if the database becomes more active. I had assumed RAID-5
> would be fine, but please let me know if there is another RAID level
> more appropriate for this implementation. Thanks for the valuable
> insight!
>

raid-5 performs very poorly on random small block writes, which is hte
majority of what databases do. raid10 is the preferred raid for databases.

btw: re earlier discussion of raid controllers vs software... I'm
surprised nooone mentioned that a 'real' raid controller with battery
backed writeback cache can hugely speed up committed 8kbyte block random
writes, which are quite often the big bottleneck in a transactional
database.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2009-07-10 14:45:03 Re: Database storage
Previous Message Tom Lane 2009-07-10 14:27:41 Re: Checkpoint Tuning Question