Re: SCSI vs. IDE performance test

Поиск
Список
Период
Сортировка
От Rick Gigger
Тема Re: SCSI vs. IDE performance test
Дата
Msg-id 00e301c39ce0$973005a0$0700a8c0@trogdor
обсуждение исходный текст
Ответ на Re: SCSI vs. IDE performance test  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SCSI vs. IDE performance test
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Experience with PL/xx?