Re: More idle thoughts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: More idle thoughts
Дата
Msg-id 22899.1269794822@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: More idle thoughts  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: More idle thoughts  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Fri, 2010-03-26 at 18:59 +0000, Greg Stark wrote:
>> It occurs to me we could do the same for CHECK_FOR_INTERRUPTS() by
>> conditionally having it call a function which calls gettimeofday and
>> compares with the previous timestamp received at the last CFI().

> Reducing latency sounds good, but what has CFI got to do with that?

It took me about five minutes to figure out what Greg was on about too.
His point is that we need to locate code paths in which an extremely
long time can pass between successive CFI calls, because that means
the backend will fail to respond to SIGINT/SIGTERM for a long time.
Instrumenting CFI itself is a possible tool for that.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: join removal
Следующее
От: Tom Lane
Дата:
Сообщение: Re: join removal