Re: fsync or fdatasync
От | Bruce Momjian |
---|---|
Тема | Re: fsync or fdatasync |
Дата | |
Msg-id | 200209161646.g8GGkNd18398@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: fsync or fdatasync ("Gaetano Mendola" <mendola@bigfoot.com>) |
Список | pgsql-admin |
Gaetano Mendola wrote: > > "Bruce Momjian" <pgman@candle.pha.pa.us> wrote in message > news:200209101540.g8AFeOo21086@candle.pha.pa.us... > > > > 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-admin по дате отправления: