Re: Add connection active, idle time to pg_stat_activity - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Add connection active, idle time to pg_stat_activity
Date
Msg-id 20221109023727.enmes3ab6gvr3zsq@awork3.anarazel.de
Whole thread Raw
In response to Re: Add connection active, idle time to pg_stat_activity  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Add connection active, idle time to pg_stat_activity
List pgsql-hackers
On 2022-11-08 19:25:27 -0700, David G. Johnston wrote:
> Actually two, because I also suggest that not only is the duration recorded,
> but a counter be incremented each time a given state becomes the currently
> active state.  Seems like having access to a divisor of some form may be
> useful.

What for?



pgsql-hackers by date:

Previous
From: sho kato
Date:
Subject: Re: [PATCH] Teach pg_waldump to extract FPIs from the WAL
Next
From: Thomas Munro
Date:
Subject: Re: Collation version tracking for macOS