From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Vivek Khera <khera(at)kcilink(dot)com> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: further testing on IDE drives |
Date: | 2003-10-10 21:22:57 |
Message-ID: | 200310102122.h9ALMvo12903@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Vivek Khera wrote:
> >>>>> "BM" == Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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.
COPY only does fsync on COPY completion, so I am not sure there are
enough fsync's there to make a difference.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Ron Johnson | 2003-10-10 21:31:55 | Re: [PERFORM] Index/Foreign Key Question |
Previous Message | Vivek Khera | 2003-10-10 21:14:25 | Re: go for a script! / ex: PostgreSQL vs. MySQL |