| От | Tom Lane |
|---|---|
| Тема | Re: fsync on 7.1 |
| Дата | |
| Msg-id | 1930.988684792@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | fsync on 7.1 (Joseph Shraibman <jks@selectacast.net>) |
| Список | pgsql-general |
Joseph Shraibman <jks@selectacast.net> writes:
> If I turn off fsync on 7.1 does that mean that the wal file is sync'd
> (according to WAL_SYNC_METHOD in the log file) and other files are not?
> Or does fsync apply to all file equally?
The latter. Note where the docs say:
The WAL_SYNC_METHOD parameter determines how Postgres will ask the
kernel to force WAL updates out to disk. All the options should be the
same as far as reliability goes, but it's quite platform-specific which
one will be the fastest. Note that this parameter is irrelevant if FSYNC
has been turned off.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера