From: Alex Turner <armtuk@gmail.com>
To: John A Meinel <john@arbash-meinel.com>
Cc: Greg Stark <gsstark@mit.edu>
Cc: William Yu <wyu@talisys.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: How to improve db performance with $7K?
Date: Mon, 18 Apr 2005 14:18:21 -0400
Message-ID: <33c6269f05041811187170139f@mail.gmail.com> (raw)
In-Reply-To: <4263EB5E.8000309@arbash-meinel.com>
References: <CC74E7E10A8A054798B6611BD1FEF4D30625DA5B@vamail01.thexchange.com>
<425EBA0C.6030804@sfnet.cc>
<d3vpnn$2iu$1@news.hub.org>
<87pswsku6e.fsf@stark.xeocode.com>
<33c6269f0504180817511b27a3@mail.gmail.com>
<878y3gks3p.fsf@stark.xeocode.com>
<33c6269f05041809566abf91d2@mail.gmail.com>
<4263EB5E.8000309@arbash-meinel.com>
Not true - the recommended RAID level is RAID 10, not RAID 0+1 (at
least I would never recommend 1+0 for anything).
RAID 10 and RAID 0+1 are _quite_ different. One gives you very good
redundancy, the other is only slightly better than RAID 5, but
operates faster in degraded mode (single drive).
Alex Turner
netEconomist
On 4/18/05, John A Meinel <john@arbash-meinel.com> wrote:
> Alex Turner wrote:
>
> >[snip]
> >
> >
> >>Adding drives will not let you get lower response times than the average seek
> >>time on your drives*. But it will let you reach that response time more often.
> >>
> >>
> >>
> >[snip]
> >
> >I believe your assertion is fundamentaly flawed. Adding more drives
> >will not let you reach that response time more often. All drives are
> >required to fill every request in all RAID levels (except possibly
> >0+1, but that isn't used for enterprise applicaitons).
> >
> Actually 0+1 is the recommended configuration for postgres databases
> (both for xlog and for the bulk data), because the write speed of RAID5
> is quite poor.
> Hence you base assumption is not correct, and adding drives *does* help.
>
> >Most requests
> >in OLTP require most of the request time to seek, not to read. Only
> >in single large block data transfers will you get any benefit from
> >adding more drives, which is atypical in most database applications.
> >For most database applications, the only way to increase
> >transactions/sec is to decrease request service time, which is
> >generaly achieved with better seek times or a better controller card,
> >or possibly spreading your database accross multiple tablespaces on
> >seperate paritions.
> >
> >
> This is probably true. However, if you are doing lots of concurrent
> connections, and things are properly spread across multiple spindles
> (using RAID0+1, or possibly tablespaces across multiple raids).
> Then each seek occurs on a separate drive, which allows them to occur at
> the same time, rather than sequentially. Having 2 processes competing
> for seeking on the same drive is going to be worse than having them on
> separate drives.
> John
> =:->
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: armtuk@gmail.com, john@arbash-meinel.com, gsstark@mit.edu, wyu@talisys.com
Subject: Re: How to improve db performance with $7K?
In-Reply-To: <33c6269f05041811187170139f@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox