Re: Do I have a hardware or a software problem?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Evgeny Shishkin <itparanoia(at)gmail(dot)com>, Niels Kristian Schjødt <nielskristian(at)autouncle(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Do I have a hardware or a software problem?
Date: 2012-12-15 00:22:14
Message-ID: CAOR=d=0HZ6hzrdw-ChCbk6QTtprhrsv74n_FJpzqdFwrvS0czw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Dec 11, 2012 at 6:03 PM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
> On 12/12/2012 06:44 AM, Evgeny Shishkin wrote:
>
>
> On Dec 12, 2012, at 2:41 AM, Niels Kristian Schjødt
> <nielskristian(at)autouncle(dot)com> wrote:
>
> Are you using a hardware based raid controller with them?
>
> Yes, of course. Hardware raid with cache and bbu is a must. You can't get
> fast fsync without it.
>
>
> Most SSDs should offer fairly fast fsync without a hardware RAID controller,
> as they do write-back caching. The trick is to find ones that do write-back
> caching safely, so you don't get severe data corruption on power-loss.
>
> A HW RAID controller is an absolute must for rotating magnetic media,
> though.
>
>
> Also mdadm is a pain in the ass and is suitable only on amazon and other
> cloud shit.
>
>
> I've personally been pretty happy with mdadm. I find the array portability
> it offers very useful, so I don't need to buy a second RAID controller just
> in case my main controller dies and I need a compatible one to get the array
> running again. If you don't need a BBU for safe write-back caching then
> mdadm has advantages over hardware RAID.
>
> I'll certainly use mdadm over onboard fakeraid solutions or low-end hardware
> RAID controllers. I suspect a mid- to high end HW RAID unit will generally
> win.

Also for sequential throughput md RAID is usually faster than most
RAID controllers, even the high end Areca and LSI ones.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message suhas.basavaraj12 2012-12-17 09:21:43 Re: How can i find out top high load sql queries in PostgreSQL.
Previous Message Kevin Grittner 2012-12-14 22:47:39 Re: Why does the number of rows are different in actual and estimated.