Re: Tablespaces on a raid configuration - Mailing list pgsql-performance

From Greg Spiegelberg
Subject Re: Tablespaces on a raid configuration
Date
Msg-id CAEtnbpW5pT9m5tQCjd4_A9MfkCBbKddiXHtqRNUX-Gv6hqHAmw@mail.gmail.com
Whole thread Raw
In response to Tablespaces on a raid configuration  ("Campbell, Lance" <lance@illinois.edu>)
List pgsql-performance
On Fri, Mar 30, 2012 at 8:45 AM, Campbell, Lance <lance@illinois.edu> wrote:

PostgreSQL 9.0.x

When PostgreSQL  storage is using a relatively large raid  5 or 6 array is there any value in having your tables distributed across multiple tablespaces if those tablespaces will exists on the same raid array?  I understand the value if you were to have the tablespaces on different raid arrays.  But what about on the same one?



Our application is a combination of OLTP and OLAP.  We've successfully split the database into 3 different tablespaces.

 1. RAID Group A is RAID 10 contains /var/lib/pgsql/data and the OLTP database (default tablespace)
 2. RAID Group B is a RAID 10 for the indexes on the data warehouse (index tablespace)
 3. RAID Group C is a RAID 5 containing the actual data warehouse (data tablespace)

A more optimum configuration would include another RAID 10 for the indexes for the OLTP but we ran out of drives to create a RAID Group D and the above configuration works well enough.

Before going with RAID 5, please review http://www.baarf.com/.

-Greg

pgsql-performance by date:

Previous
From: "ktm@rice.edu"
Date:
Subject: Re: Tablespaces on a raid configuration
Next
From: Andrew Dunstan
Date:
Subject: Re: Tablespaces on a raid configuration