Re: Terminate the idle sessions

From: Li Japin <japinli(at)hotmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Terminate the idle sessions
Date: 2020-06-10 05:20:36
Message-ID: F431E4BB-7218-4E98-86C1-2036667D76E4@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jun 9, 2020, at 10:35 PM, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com<mailto:david(dot)g(dot)johnston(at)gmail(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2020-06-10 05:39:26 Re: Parallel Seq Scan vs kernel read ahead
Previous Message Thomas Munro 2020-06-10 05:20:32 Re: Parallel Seq Scan vs kernel read ahead