Re: [GENERAL] Running with fsync=off

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Running with fsync=off
Дата
Msg-id 4550.1135723450@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Running with fsync=off  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-admin
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> How would sync<RETURN>sync<RETURN> differ from sync;sync? The second
> case will wait for the first command to return, or is there a race
> condition that's reduced by typing by hand?

The actual runtime of the "sync" program is epsilon, because it doesn't
wait for all the I/O to happen.  The entire reason for the custom is
that the I/O is going on while you type the second "sync".  And yes,
it's a race condition.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Pgstat.tmp file activity
Следующее
От: "Aftab Alam"
Дата:
Сообщение: Re: sending mail from Postgres