Re: CommitDelay performance improvement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CommitDelay performance improvement
Дата
Msg-id 1214.982969373@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CommitDelay performance improvement  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: CommitDelay performance improvement
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> It could be tough.  Imagine the delay increasing to 3 seconds?  Seems
> there has to be an upper bound on the sleep.  The more you delay, the
> more likely you will be to find someone to fsync you.

Good point, and an excellent illustration of the fact that
self-adjusting algorithms aren't that easy to get right the first
time ;-)

> Are we waking processes up after we have fsync()'ed them?

Not at the moment.  That would be another good mechanism to investigate
for 7.2; but right now there's no infrastructure that would allow a
backend to discover which other ones were sleeping for fsync.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CommitDelay performance improvement
Следующее
От: ncm@zembu.com (Nathan Myers)
Дата:
Сообщение: Re: CommitDelay performance improvement