> On Oct 9, 2023, at 8:07 AM, Rajesh Kumar <rajeshkumar.dba09@xxxxxxxxx> wrote: > > Hi, > > I could see queries like DISCARD ALL is idle for more than 5minutes (we are using pgbouncer). > > Why is it idle for more than 5mns? I read about pgbouncer and could not understand this thing. If resetting a connection using query becomes one idle connection, I don't understand the pooling system here > > Plz help Idle means it's not doing anything--pg_stat_activity is showing you the last query executed.