Re: further testing on IDE drives - Mailing list pgsql-performance

From Vivek Khera
Subject Re: further testing on IDE drives
Date
Msg-id x7smm0om2l.fsf@yertle.int.kciLink.com
Whole thread Raw
In response to Re: further testing on IDE drives  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: further testing on IDE drives  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-performance
>>>>> "BM" == Bruce Momjian <pgman@candle.pha.pa.us> writes:

>> Sounds reasonable to me.  Are there many / any scenarios where a plain
>> fsync would be faster than open_sync?

BM> Yes.  If you were doing multiple WAL writes before transaction fsync,
BM> you would be fsyncing every write, rather than doing two writes and
BM> fsync'ing them both.  I wonder if larger transactions would find
BM> open_sync slower?

consider loading a large database from a backup dump.  one big
transaction during the COPY.  I don't know the implications it has on
this scenario, though.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: further testing on IDE drives
Next
From: "David Busby"
Date:
Subject: Index/Foreign Key Question