Re: partitioning for postgresql

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: "Wilson A(dot) Galafassi Jr(dot)" <juniorlist(at)yahoo(dot)com(dot)br>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: partitioning for postgresql
Date: 2003-08-06 20:09:14
Message-ID: Pine.LNX.4.33.0308061406350.16343-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, 6 Aug 2003, Wilson A. Galafassi Jr. wrote:

> hello!!!
> what is suggested partitioning schema for postgresql??
> the size of my db is 5BG and i have 36GB scsi disk!

The first recommendation is to run Postgresql on a RAID set for
reliability.

I'm assuming you're building a machine and need to put both the OS and
Postgresql database on that one disk.

If that's the case, just put the OS on however you like (lotsa different
ways to partition for the OS) and leave about 30 gig for Postgresql to run
in, then just put the whole database $PGDATA directory on that partition.

I'd recommend running ext3 with meta data journaling only for speed,
security, and ease of setup and use. XFS is the next choice, which is a
little harder to setup, as it's not included in most distros, but is
definitely faster than ext3 at most stuff.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Wilson A. Galafassi Jr. 2003-08-06 20:09:59 partitioning for postgresql
Previous Message scott.marlowe 2003-08-06 20:00:59 Re: How to efficiently duplicate a whole schema?