Re: Terminate the idle sessions - Mailing list pgsql-hackers

From Li Japin
Subject Re: Terminate the idle sessions
Date
Msg-id F431E4BB-7218-4E98-86C1-2036667D76E4@hotmail.com
Whole thread Raw
In response to Re: Terminate the idle sessions  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Terminate the idle sessions  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers


On Jun 9, 2020, at 10:35 PM, David G. Johnston <david.g.johnston@gmail.com> wrote:

I’m curious as to the use case because I cannot imagine using this.  Idle connections are normal.  Seems better to monitor them and conditionally execute the disconnect backend function from the monitoring layer than indiscriminately disconnect based upon time. 

I agree with you.  But we can also give the user to control the idle sessions lifetime.

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Parallel Seq Scan vs kernel read ahead
Next
From: David Rowley
Date:
Subject: Re: Parallel Seq Scan vs kernel read ahead