Re: Trying to minimize the impact of checkpoints

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Trying to minimize the impact of checkpoints
Следующее
От: "zuhans@iname.com"
Дата:
Сообщение: backup and restore just with use of jdbc?