Re: commit_delay, siblings

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: commit_delay, siblings
Дата
Msg-id 8764w6ywd5.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: commit_delay, siblings  (Hans-Jürgen Schönig <postgres@cybertec.at>)
Список pgsql-hackers
Hans-Jürgen Schönig <postgres@cybertec.at> writes:

> > The theory is good, but useful values for commit_delay would probably be
> > under a millisecond, and there isn't any portable way to sleep for such
> > short periods.

Just because there's no "portable" way to be sure it'll work doesn't mean
there's no point in trying. If one user sets it to 5ms and it's effective for
him there's no reason to take out the option for him just because it doesn't
work out as well on all platforms.

Linux, for example has moved to higher clock speeds precisely because things
like movie and music players need to be able to control their timing to much
more precision than 10ms.

-- 
greg



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Why is checkpoint so costly?
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [PATCHES] Removing Kerberos 4