Re: Journaling file systems - Mailing list pgsql-admin

From Ragnar Kjørstad
Subject Re: Journaling file systems
Date
Msg-id 20020226184159.G13673@vestdata.no
Whole thread Raw
In response to Re: Journaling file systems  ("Peter Darley" <pdarley@kinesis-cem.com>)
List pgsql-admin
On Tue, Feb 26, 2002 at 08:47:05AM -0800, Peter Darley wrote:
> > Friends,
> >     I'm wondering if a journaling file system, like ext3, will make much
> > difference with the speed or reliability of PostgreSQL?  Is it worth the
> > work to switch over?

PostgreSQL does not depend on journaling to be reliable.

>     Is there some kind of file system (for Linux) that will provide better
> performance than ext2? XFS or ReiserFS maybe?

Both XFS and reiserfs are generally a little bit faster than ext2, put
primarely on file-operations (craete, delete, lookup). For raw data
transfer it's more a hardware issue than a filessytem issue (but XFS may
be a few percent faster).


Data-journaling could potentially improve performance a lot. By doing
writes to the journal istead of the actual file the number of seeks is
reduced and fsync can complete much faster. ext3 support data journaling
out of the box (mount-option) and there are experimental patches for
reiserfs.

I'm not sure how much seeking is going on without data-journaling? Maybe
writes are just appended to the log? could someone say more about this?




--
Ragnar Kjørstad
Big Storage

pgsql-admin by date:

Previous
From: "Radu-Adrian Popescu"
Date:
Subject: Re: Journaling file systems
Next
From: Stephan Szabo
Date:
Subject: Re: Size of database system