Re: Scaling further up

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Anjan Dave <adave(at)vantage(dot)com>
Cc: <fred(at)redhotpenguin(dot)com>, William Yu <wyu(at)talisys(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Scaling further up
Date: 2004-03-02 21:16:24
Message-ID: Pine.LNX.4.33.0403021411570.4475-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, 2 Mar 2004, Anjan Dave wrote:

> "By lots I mean dozen(s) in a raid 10 array with a good controller."
>
> I believe, for RAID-10, I will need even number of drives.

Correct.

> Currently,
> the size of the database is about 13GB, and is not expected to grow
> exponentially with thousands of concurrent users, so total space is not
> of paramount importance compared to performance.
>
> Does this sound reasonable setup?
> 10x36GB FC drives on RAID-10
> 4x36GB FC drives for the logs on RAID-10 (not sure if this is the
> correct ratio)?
> 1 hotspare
> Total=15 Drives per enclosure.

Putting the Logs on RAID-10 is likely to be slower than, or no faster than
putting them on RAID-1, since the RAID-10 will have to write to 4 drives,
while the RAID-1 will only have to write to two drives. now, if you were
reading in the logs a lot, it might help to have the RAID-10.

> Tentatively, I am looking at an entry-level EMC CX300 product with 2GB
> RAID cache, etc.

Pick up a spare, I'll get you my home address, etc... :-)

Seriously, that's huge. At that point you may well find that putting
EVERYTHING on a big old RAID-5 performs best, since you've got lots of
caching / write buffering going on.

> Question - Are 73GB drives supposed to give better performance because
> of higher number of platters?

Generally, larger hard drives perform better than smaller hard drives
because they a: have more heads and / or b: have a higher areal density.

It's a common misconception that faster RPM drives are a lot faster, when,
in fact, their only speed advantage is slight faster seeks. The areal
density of faster spinning hard drives tends to be somewhat less than the
slower spinning drives, since the maximum frequency the heads can work in
on both drives, assuming the same technology, is the same. I.e. the speed
at which you can read data off of the platter doesn't usually go up with a
higher RPM drive, only the speed with which you can get to the first
sector.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Chris Ruprecht 2004-03-02 21:16:55 Re: Scaling further up
Previous Message Vivek Khera 2004-03-02 20:51:26 Re: Database Server Tuning