Re: Reduced power consumption in autovacuum launcher process

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reduced power consumption in autovacuum launcher process
Дата
Msg-id 3942.1311016340@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reduced power consumption in autovacuum launcher process  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Reduced power consumption in autovacuum launcher process
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> On 18.07.2011 18:32, Tom Lane wrote:
>> Hmm.  Well, it's not too late to rethink the WaitLatch API, if we think
>> that that might be a significant limitation.

> Right, we can easily change the timeout argument to be in milliseconds 
> instead of microseconds.

On the whole I'd be more worried about giving up the shorter waits than
the longer ones --- it's not too hard to imagine using submillisecond
timeouts in the future, as machines get faster.  If we really wanted to
fix this, I think we need to move to a wider datatype.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: per-column generic option
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Initial Review: JSON contrib modul was: Re: Another swing at JSON