pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: scott.marlowe <scott.marlowe@ihs.com>
Cc: Andrew McMillan <andrew@catalyst.net.nz>
Cc: huang yaqin <hyq@gthome.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: good pc but bad performance,why?
Date: Wed, 07 Apr 2004 21:31:18 -0400
Message-ID: <6788.1081387878@sss.pgh.pa.us> (raw)
In-Reply-To: <200404072212.i37MCck07003@candle.pha.pa.us>
References: <200404072212.i37MCck07003@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> scott.marlowe wrote:
>>> There is no real need (or benefit) from having the database on a
>>> journalled filesystem - the journalling is only trying to give similar
>>> sorts of guarantees to what the fsync in PostgreSQL is doing.
>> 
>> Is this true?  I was under the impression that without at least meta-data 
>> journaling postgresql could still be corrupted by power failure.

> It is false.  ext2 isn't crash-safe, and PostgreSQL needs an intact file
> system for WAL recovery.

But it should be okay to set the filesystem to journal only its own
metadata.  There's no need for it to journal file contents.

			regards, tom lane



view thread (23+ messages)  latest in thread

Message-ID: <6788.1081387878@sss.pgh.pa.us>
Permalink:  ../6788.1081387878@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6788.1081387878@sss.pgh.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, scott.marlowe@ihs.com, andrew@catalyst.net.nz, hyq@gthome.com
  Subject: Re: good pc but bad performance,why?
  In-Reply-To: <6788.1081387878@sss.pgh.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