Re: SCSI vs. IDE performance test - Mailing list pgsql-general

From Tom Lane
Subject Re: SCSI vs. IDE performance test
Date
Msg-id 15166.1067294380@sss.pgh.pa.us
Whole thread Raw
In response to Re: SCSI vs. IDE performance test  ("Rick Gigger" <rick@alpinenetworking.com>)
Responses Re: SCSI vs. IDE performance test  (Allen Landsidel <all@biosys.net>)
List pgsql-general
"Rick Gigger" <rick@alpinenetworking.com> writes:
> It seems to me file system journaling should fix the whole problem by giving
> you a record of what was actually commited to disk and what was not.

Nope, a journaling FS has exactly the same problem Postgres does
(because the underlying "WAL" concept is the same: write the log entries
before you change the files they describe).  If the drive lies about
write order, the FS can be screwed just as badly.  Now the FS code might
have a low-level way to force write order that Postgres doesn't have
access to ... but simply uttering the magic incantation "journaling file
system" will not make this problem disappear.

            regards, tom lane

pgsql-general by date:

Previous
From: "Rada Chirkova"
Date:
Subject: What is an RT index?
Next
From: "Rick Gigger"
Date:
Subject: Re: SCSI vs. IDE performance test