Re: how to partition disks

From: Sven Geisler <sgeisler(at)aeccom(dot)com>
To: hubert depesz lubaczewski <depesz(at)gmail(dot)com>
Cc: Pgsql-Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: how to partition disks
Date: 2006-06-14 08:26:43
Message-ID: 448FC843.1090205@aeccom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi Hubert,

hubert depesz lubaczewski schrieb:
> hi
> i'm waiting for new server to arrive.
> for the server i will get hp msa1000, with 14 discs (72g, 15000 rpm).
> what kind of partitioning you suggest, to get maximum performance?
> for system things i will have separate discs, so whole array is only for
> postgresql.
>
> data processing is oltp, but with large amounts of write operations.
>
> any hints?
>
> should i go with 3 partitions, or just 1? or 2?
>

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
2. RAID 10 with 4 discs for WAL
(two disk as spare)

You may split the first volume in two volumes for a second table space
if you Server doesn't have enough RAM and you have a high disk read I/O.

Cheers
Sven.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Böszörményi Zoltán 2006-06-14 10:53:54 Precomputed constants?
Previous Message hubert depesz lubaczewski 2006-06-14 07:52:26 how to partition disks