pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: scott.marlowe <scott.marlowe@ihs.com>
Cc: Andrew Sullivan <andrew@libertyrms.info>
Cc: pgsql-performance@postgresql.org
Subject: Re: Perfomance Tuning
Date: Mon, 11 Aug 2003 18:16:44 -0400 (EDT)
Message-ID: <200308112216.h7BMGiF06162@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.33.0308110845360.1574-100000@css120.ihs.com>

scott.marlowe wrote:
> On Fri, 8 Aug 2003, Andrew Sullivan wrote:
> 
> > On Fri, Aug 08, 2003 at 09:40:20AM -0700, Jonathan Gardner wrote:
> > > 
> > > Redhat puts ext3 on by default. Consider switching to a non-journaling FS 
> > > (ext2?) with the partition that holds your data and WAL.
> > 
> > I would give you exactly the opposite advice: _never_ use a
> > non-journalling fs for your data and WAL.  I suppose if you can
> > afford to lose some transactions, you can do without journalling. 
> > Otherwise, you're just borrowing trouble, near as I can tell.
> 
> I'd argue that a reliable filesystem (ext2) is still better than a 
> questionable journaling filesystem (ext3 on kernels <2.4.20).
> 
> This isn't saying to not use jounraling, but I would definitely test it 
> under load first to make sure it's not gonna lose data or get corrupted.

That _would_ work if ext2 was a reliable file system --- it is not.

This is the problem of Linux file systems --- they have unreliable, and
journalled, with nothing in between, except using a journalling file
system and having it only journal metadata.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (55+ messages)  latest in thread

Message-ID: <200308112216.h7BMGiF06162@candle.pha.pa.us>
Permalink:  ../200308112216.h7BMGiF06162@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200308112216.h7BMGiF06162@candle.pha.pa.us

 · 

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-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, scott.marlowe@ihs.com, andrew@libertyrms.info
  Subject: Re: Perfomance Tuning
  In-Reply-To: <200308112216.h7BMGiF06162@candle.pha.pa.us>
  References: <Pine.LNX.4.33.0308110845360.1574-100000@css120.ihs.com> <200308112216.h7BMGiF06162@candle.pha.pa.us>

* 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