Re: Background Processes and reporting

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Background Processes and reporting
Дата
Msg-id CAA4eK1KMrRRzVX7C4xdyvz53jJeppgLLNyxMyz9-y1OSgMrwVQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Background Processes and reporting  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Список pgsql-hackers
On Sat, Mar 12, 2016 at 2:38 PM, Alexander Korotkov <a.korotkov@postgrespro.ru> wrote:
>
> On Sat, Mar 12, 2016 at 2:45 AM, Andres Freund <andres@anarazel.de> wrote:
>>
>>
>> I think I agree with Robert here. Providing hooks into very low level
>> places tends to lead to problems in my experience; tight control over
>> what happens is often important - I certainly don't want any external
>> code to run while we're waiting for an lwlock.
>
>
> So, I get following.
>  
> 1) Detailed wait monitoring might cause high overhead on some systems.
> 2) We want wait monitoring to be always on. And we don't want options to enable additional features of wait monitoring.
>

I am not able to see how any of above comments indicate that wait monitoring need to be always on, why can't we consider to be off by default especially for events like timing calculations where we suspect to have some performance penalty and  during development if it is proven that none of the additional wait events cause any overhead, then we can keep them on by default.

> 3) We don't want hook of wait events to be exposed.
>
> Can I conclude that we reject detailed wait monitoring by design?
>

I don't think so.


With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Background Processes and reporting
Следующее
От: Salvador Fandiño
Дата:
Сообщение: Re: Saving SRF context