Re: how to partition disks - Mailing list pgsql-performance

From Sven Geisler
Subject Re: how to partition disks
Date
Msg-id 448FF5EB.8010808@aeccom.com
Whole thread Raw
In response to Re: how to partition disks  ("hubert depesz lubaczewski" <depesz@gmail.com>)
Responses Re: how to partition disks
List pgsql-performance
Hi Hupert,

hubert depesz lubaczewski schrieb:
> On 6/14/06, *Sven Geisler* <sgeisler@aeccom.com
> <mailto:sgeisler@aeccom.com>> wrote:
>     You should configure your discs to RAID 10 volumes.
>     You should set up a separate volume for WAL.
>     A volume for an additional table space may also useful.
>     In your case I would do 2 partitions:
>     1. RAID 10 with 8 discs for general data
>
>
> raid 10 is of course not questionable. but are you sure that it will
> work faster than for example:
> 2 discs (raid 1) for xlog
> 6 discs (raid 10) for tables
> 6 discs (raid 10) for indices?
>

This depends on your application. Do you have a lot of disc reads?
Anyhow, I would put the xlog always to a RAID 10 volume because most of
the I/O for update and inserts is going to the xlog.

4 discs xlog
6 discs tables
4 discs tables2

This should be better. You should distribute indices on separate spindle
stacks to share the I/O. But again this depends on your application and
your server. How are the indices used? How large is your file system
cache. What does PostgreSQL effectively read from disc.

Don't forget to tune your postgresql.conf:
<http://www.powerpostgresql.com/PerfList>
<http://www.powerpostgresql.com/Downloads/terabytes_osc2005.pdf>

Cheers
Sven.

pgsql-performance by date:

Previous
From: Böszörményi Zoltán
Date:
Subject: Re: Precomputed constants?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Confirmation of bad query plan generated by 7.4