Re: High cpu usage after many inserts

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Jordan Tomkinson <jordan(at)moodle(dot)com>
Cc: Aidan Van Dyk <aidan(at)highrise(dot)ca>, Greg Smith <gsmith(at)gregsmith(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: High cpu usage after many inserts
Date: 2009-02-25 00:59:40
Message-ID: 1235523580.9565.112.camel@jd-laptop.pragmaticzealot.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2009-02-25 at 09:44 +0900, Jordan Tomkinson wrote:
>
>
> On Wed, Feb 25, 2009 at 9:23 AM, Joshua D. Drake
> <jd(at)commandprompt(dot)com> wrote:
>
>
> RAID5 outside of RAID 0 is the worst possible RAID level to
> run with a
> database. (of the commonly used raid level's that is).
>
> It is very, very slow on random writes which is what databases
> do.
> Switch to RAID 10.
>
> surely being (real) hardware raid with 15k rpm disks this wouldn't be
> a huge issue unless a large amount of data was being written ?

Tests done by Mark Wong on a 3 disk 15k scsi versus 4 disk raid 10 scsi
show that RAID 10 is on average 30% faster.

Sincerely,

Joshua D. Drake

>
--
PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org
Consulting, Development, Support, Training
503-667-4564 - http://www.commandprompt.com/
The PostgreSQL Company, serving since 1997

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jordan Tomkinson 2009-02-25 01:48:37 Re: High cpu usage after many inserts
Previous Message John DeSoi 2009-02-25 00:52:58 Re: Function parameter