Pg_stat_activity - Mailing list pgsql-hackers

From Rajesh Kumar
Subject Pg_stat_activity
Date
Msg-id CAJk5AtYs9NynsNwkBumh1C-_eYrkBwLWNzhHhwmTqKuRsE5WJg@mail.gmail.com
Whole thread Raw
Responses Re: Pg_stat_activity
List pgsql-hackers
If I see a sudden connection spike (say once in 2 months). What are the steps I need to follow as a dba?

Check idle and kill? Check of stat activity for active queries? How do I ensure how much time is long running query? Blocking queries? How much of blocking time is considered to be dangerous? Locks - should we conclude anything from wait event and wait event type ? 

All these won't help nd have to look into pgbadger?

pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Decision by Monday: PQescapeString() vs. encoding violation
Next
From: "David G. Johnston"
Date:
Subject: Re: Pg_stat_activity