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

From Rick Gigger
Subject Re: SCSI vs. IDE performance test
Date
Msg-id 00e301c39ce0$973005a0$0700a8c0@trogdor
Whole thread Raw
In response to Re: SCSI vs. IDE performance test  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: SCSI vs. IDE performance test  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: SCSI vs. IDE performance test  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
ahhh. "lies about write order" is the phrase that I was looking for.  That
seemed to make sense but I didn't know if I could go directly from "lying
about fsync" to that.  Obviously I don't understand exactly what fsync is
doing.  I assume this means that if you were to turn fsync off you would get
considerably better performance but introduce the possibility of corrupting
the files in your database.

Thank you.  This makes a lot more sense now.



----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Rick Gigger" <rick@alpinenetworking.com>
Cc: <pgsql-general@postgresql.org>
Sent: Monday, October 27, 2003 3:39 PM
Subject: Re: [GENERAL] SCSI vs. IDE performance test


> "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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html
>


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: SCSI vs. IDE performance test
Next
From: Robert Treat
Date:
Subject: Re: Experience with PL/xx?