Re: Add connection active, idle time to pg_stat_activity

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: Add connection active, idle time to pg_stat_activity
Дата
Msg-id CAJ7c6TOVMem+u7W3As5vCQy_oZLkijXBDZKdL1EFdiTWf9kV8A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add connection active, idle time to pg_stat_activity  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: Add connection active, idle time to pg_stat_activity  (Sergey Dudoladov <sergey.dudoladov@gmail.com>)
Список pgsql-hackers
Hi hackers,

All in all the patch seems to be in good shape.

> This is consistent with the current documentation:
>
> > Each individual server process transmits new statistical counts to the collector just before going idle; so a query
ortransaction still in progress does not affect the displayed totals.
 
>
> But it makes me wonder if there will be a lot of use of total_idle_in_transaction_time and if the patch should
actuallyalter this behavior.
 
>
> Thoughts?

On second thought, this is arguably out of scope of this particular
patch and this particular discussion. In any case, having some stats
is better than none.

I'm going to change the status of the patch to "Ready for Committer"
in a short time unless anyone has a second opinion.

-- 
Best regards,
Aleksander Alekseev



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

Предыдущее
От: Richard Guo
Дата:
Сообщение: Re: Add proper planner support for ORDER BY / DISTINCT aggregates
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: PANIC: wrong buffer passed to visibilitymap_clear