| От | Tom Lane |
|---|---|
| Тема | Re: Trying to minimize the impact of checkpoints |
| Дата | |
| Msg-id | 20766.1087092962@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Trying to minimize the impact of checkpoints (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-general |
Martijn van Oosterhout <kleptog@svana.org> writes:
>> [sync before fsync]
> Not a good idea on some systems. From the linux sync(2) manpage:
> BUGS
> According to the standard specification (e.g., SVID), sync()
> schedules the writes, but may return before the actual writing
> is done. However, since version 1.3.20 Linux does actually
> wait.
This is another reason why it would have to be optional: the win comes
only if the kernel adheres literally to the SVID specification for
sync(2). I think all the BSDen do, and HPUX seems to, but there are
undoubtedly platforms that don't.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера