pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ragnar Kjørstad <postgres@ragnark.vestdata.no>
To: Peter Darley <pdarley@kinesis-cem.com>
Cc: Jeff Self <jself@nngov.com>
Cc: Pgsql-Admin <pgsql-admin@postgresql.org>
Subject: Re: Journaling file systems
Date: Tue, 26 Feb 2002 18:41:59 +0100
Message-ID: <20020226184159.G13673@vestdata.no> (raw)
In-Reply-To: <NNEAICKPNOGDBHNCEDCPAEBLCFAA.pdarley@kinesis-cem.com>
References: <1014740540.12600.22.camel@personnel_test>
	<NNEAICKPNOGDBHNCEDCPAEBLCFAA.pdarley@kinesis-cem.com>

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



view thread (9+ messages)  latest in thread

Message-ID: <20020226184159.G13673@vestdata.no>
Permalink:  ../20020226184159.G13673@vestdata.no/
Also on:    postgresql.org/message-id/20020226184159.G13673@vestdata.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: postgres@ragnark.vestdata.no, pdarley@kinesis-cem.com, jself@nngov.com
  Subject: Re: Journaling file systems
  In-Reply-To: <20020226184159.G13673@vestdata.no>
  References: <1014740540.12600.22.camel@personnel_test> <NNEAICKPNOGDBHNCEDCPAEBLCFAA.pdarley@kinesis-cem.com> <20020226184159.G13673@vestdata.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox