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:23:53
Message-ID: 1235521433.9565.103.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:21 +0900, Jordan Tomkinson wrote:
>
> On Wed, Feb 25, 2009 at 12:05 AM, Aidan Van Dyk <aidan(at)highrise(dot)ca>
> wrote:
> * Greg Smith <gsmith(at)gregsmith(dot)com> [090201 00:00]:
>
> > Shouldn't someone have ranted about RAID-5 by this point in
> the thread?
>
>
> What? Sorry, I wasn't paying attention...
>
> You mean someone's actually still using RAID-5?
>
> ;-)
>
> What exactly is wrong with RAID5 and what should we have gone with?

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.

Sincerely,

Joshua D. Drkae

>
>
--
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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Williamson 2009-02-25 00:29:00 Re: High cpu usage after many inserts
Previous Message Jordan Tomkinson 2009-02-25 00:21:16 Re: High cpu usage after many inserts