Re: Filesystem options for storing pg_data

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Joe Maldonado <jmaldonado(at)webehosting(dot)biz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Filesystem options for storing pg_data
Date: 2005-04-20 16:29:21
Message-ID: 1114014561.20921.578.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2005-04-20 at 11:18, Scott Marlowe wrote:
> On Wed, 2005-04-20 at 11:07, Joe Maldonado wrote:
> > Hello all,
> >
> > I am in a position where I'm torn between using ext2 vs ext3 to keep the
> > pg_data, pg_xlog, and pg_clog contents.
> >
> > The main concern is that switching to ext2 will not respond well to an
> > improper shutdown, power loss.
> >
> > My question is what is the prefered filesystem to keep this data to be
> > able to optimize performance and still have some fault tolerance.
>
> Generally XFS and JFS are considered superior to ext2/3.
>
> ext3, in my experience, isn't much slower than ext2. Plus the decreased
> time required to bring up a server after a power outage is worth
> something too.
>
> Having used ext3 quite a bit, I'd say it's fairly stable and reliable,
> but I have seen references here to know, possibly unfixable bugs.
>
> I've used XFS a few years back, and there was no great gain for what we
> were doing at the time, as we were CPU, not I/O bound.

Oh, and if you use ext3, definitely turn off atime (use the noatime
option at mount time)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-04-20 16:59:29 Re: Regular expression. How to disable ALL meta-character in a regular expression
Previous Message Marc G. Fournier 2005-04-20 16:28:36 Re: What means Postgres?