Re: High cpu usage after many inserts - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: High cpu usage after many inserts
Date
Msg-id 1235521433.9565.103.camel@jd-laptop.pragmaticzealot.org
Whole thread Raw
In response to Re: High cpu usage after many inserts  (Jordan Tomkinson <jordan@moodle.com>)
Responses Re: High cpu usage after many inserts  (Jordan Tomkinson <jordan@moodle.com>)
Re: High cpu usage after many inserts  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List 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@highrise.ca>
> wrote:
>         * Greg Smith <gsmith@gregsmith.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@jabber.postgresql.org
   Consulting, Development, Support, Training
   503-667-4564 - http://www.commandprompt.com/
   The PostgreSQL Company, serving since 1997


pgsql-general by date:

Previous
From: Jordan Tomkinson
Date:
Subject: Re: High cpu usage after many inserts
Next
From: Greg Williamson
Date:
Subject: Re: High cpu usage after many inserts