From: | "Rick Gigger" <rick(at)alpinenetworking(dot)com> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: SCSI vs. IDE performance test |
Date: | 2003-10-27 23:18:10 |
Message-ID: | 00e301c39ce0$973005a0$0700a8c0@trogdor |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rick Gigger" <rick(at)alpinenetworking(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Monday, October 27, 2003 3:39 PM
Subject: Re: [GENERAL] SCSI vs. IDE performance test
> "Rick Gigger" <rick(at)alpinenetworking(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Lynn.Tilby | 2003-10-27 23:23:52 | Re: Recomended FS |
Previous Message | Tom Lane | 2003-10-27 22:39:40 | Re: SCSI vs. IDE performance test |