| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Gaetano Mendola <mendola(at)bigfoot(dot)com> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: fsync or fdatasync |
| Date: | 2002-09-16 16:46:22 |
| Message-ID: | 200209161646.g8GGkNd18398@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Gaetano Mendola wrote:
>
> "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote in message
> news:200209101540(dot)g8AFeOo21086(at)candle(dot)pha(dot)pa(dot)us(dot)(dot)(dot)
> >
> > The original poster was wrong about the default.
> >
> > We use fdatasync where available, and fsync when it is not. We also use
> > O_SYNC on open if it is available.
>
>
> The original poster is me! :-)
>
> I was pointed to a document ( that I don't find anymore )
> where I understood that the default was fsync.
> I'm sorry for the little flame.... :-(
>
>
> PS. It is in the plans to use raw disks ?
No plans. Raw disk is only marginally faster and a lot more
complicated. See the TODO performance link for details.
--
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 | Thomas Bauer | 2002-09-16 18:01:02 | compiling pgsql |
| Previous Message | Stephan Szabo | 2002-09-16 15:12:24 | Re: [BUGS] Problem |