Re: Add connection active, idle time to pg_stat_activity

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

> 57033 (master) =# select * from pg_stat_activity where pid = 57033;
> ...
> total_active_time              | 2514.635
> total_idle_in_transaction_time | 2314.703
>
> 57033 (master) =# COMMIT;
> 57033 (master) =# select * from pg_stat_activity where pid = 57033;
> ...
> total_active_time              | 22.048
> total_idle_in_transaction_time | 7300.911
> ```

My previous message was wrong, total_active_time doesn't track
seconds. I got confused by the name of this column. Still I'm pretty
confident it shouldn't decrease.

-- 
Best regards,
Aleksander Alekseev



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: Add connection active, idle time to pg_stat_activity
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: i.e. and e.g.