pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Stone <mstone+postgres@mathom.us>
To: Jim C. Nasby <jnasby@pervasive.com>
Cc: mark@mark.mielke.cc
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgresql Performance on an HP DL385 and
Date: Tue, 15 Aug 2006 16:53:03 -0400
Message-ID: <20060815205300.GX2900@mathom.us> (raw)
In-Reply-To: <20060815191505.GH21363@pervasive.com>
References: <20060810110935.GF2900@mathom.us>
	<20060814153841.GF27928@pervasive.com>
	<721b21dc0608140851v2332cdf9g59808004c983540f@mail.gmail.com>
	<20060814170545.GG27928@pervasive.com>
	<20060814170902.GN2900@mathom.us>
	<20060815162926.GS27928@pervasive.com>
	<20060815172645.GU2900@mathom.us>
	<20060815183327.GC12834@mark.mielke.cc>
	<20060815190254.GW2900@mathom.us>
	<20060815191505.GH21363@pervasive.com>

On Tue, Aug 15, 2006 at 02:15:05PM -0500, Jim C. Nasby wrote:
>Now, if
>fsync'ing a file also ensures that all the metadata is written, then
>we're probably fine... 

...and it does. Unclean shutdowns cause problems in general because 
filesystems operate asynchronously. postgres (and other similar 
programs) go to great lengths to make sure that critical operations are 
performed synchronously. If the program *doesn't* do that, metadata 
journaling isn't a magic wand which will guarantee data integrity--it 
won't.  If the program *does* do that, all the metadata journaling adds 
is the ability to skip fsck and start up faster.

Mike Stone



view thread (70+ messages)  latest in thread

Message-ID: <20060815205300.GX2900@mathom.us>
Permalink:  ../20060815205300.GX2900@mathom.us/
Also on:    postgresql.org/message-id/20060815205300.GX2900@mathom.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: mstone+postgres@mathom.us, jnasby@pervasive.com, mark@mark.mielke.cc
  Subject: Re: Postgresql Performance on an HP DL385 and
  In-Reply-To: <20060815205300.GX2900@mathom.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