Re: Postgresql Performance on an HP DL385 and - Mailing list pgsql-performance

From Michael Stone
Subject Re: Postgresql Performance on an HP DL385 and
Date
Msg-id 20060815205300.GX2900@mathom.us
Whole thread Raw
In response to Re: Postgresql Performance on an HP DL385 and  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Dell PowerEdge 2950 performance
Next
From: Jim Nasby
Date:
Subject: Re: Inner Join of the same table