Hi, On 2021-04-27 12:40:29 -0400, Stephen Frost wrote: > So, what fields are people really looking at when querying > pg_stat_activity interactively? User, database, pid, last query, > transaction start, query start, state, wait event info, maybe backend > xmin/xid? I doubt most people looking at pg_stat_activity interactively > actually care about the non-user backends (autovacuum, et al).
Not representative, but I personally am about as often interested in one of the non-connection processes as the connection ones. E.g. investigating what is autovacuum's bottleneck, are checkpointer / wal writer / bgwriter io bound or keeping up, etc. Greetings, Andres Freund