Re: fsync = true beneficial on ext3?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: fsync = true beneficial on ext3?
Date: 2004-02-08 19:02:26
Message-ID: 4348.1076266946@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> If we write something without sync'ing, presumably it's immediately
> journaled?

I was under the impression that ext3 journals only filesystem metadata,
not the contents of files.

> I've been running a few pgsql clusters on ext3 with fsync =
> false, suffered numerous OS crashes, and have yet to lose any data or see
> any corruption from any of those crashes. Have I just been lucky?

Doesn't sound very safe to me.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-02-08 19:03:19 Re: Repost: postmaster growing to consume all memory
Previous Message David Garamond 2004-02-08 18:30:44 Re: connectby for BYTEA keys