Re: Stripping raid vs. table spaces

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: KÖPFERL Robert <robert(dot)koepferl(at)sonorys(dot)at>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Stripping raid vs. table spaces
Date: 2005-06-09 14:11:53
Message-ID: 1118326313.5758.189.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, 2005-06-09 at 02:16, KÖPFERL Robert wrote:
> Short question:
>
> Is it enugh to have stripping on a disk array?
> Are table spaces then of less use than the actual stripping? So will just
> stripping give me more O/I-performance?

The answer is, it depends.

If you had some large number of drives to put in a RAID array, along
with a fast RAID controller and lots of battery backed cache set to
write-back, then it is unlikely you would get any better performance
from putting tables and indexes on lots of different discrete drives.
Of course, you can use both, putting table spaces on top of different
stripe sets.

The important thing to consider is your usage pattern. Will you be
writing in several small streams and reading in one or two big ones? Or
vice versa? Or will you have many read/write transactions in transit at
once? Will you have a few heavy traffic tables and lot of low traffic
ones? On and on.

There's a big difference between a data warehouse / OLAP and a
transactional engine / OLTP setup.

Note that there is probably better info on this in the -performance
archives than in the -admin ones...

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rodrigo Katsumoto Sakai 2005-06-09 15:06:08 Starting PostgreSQL on WinXP is not working
Previous Message Dawid Kuroczko 2005-06-09 11:14:09 Re: Stripping raid vs. table spaces