Re: Handling idle connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Sep 24, 2023, at 7:03 AM, Rajesh Kumar <rajeshkumar.dba09@xxxxxxxxx> wrote:
> 
> Could u give me a tip on how to figure out where they are coming and what do u mean exactly by saying "fixing" them

Look at pg_stat_activity. There's the application_name column--if your apps are not setting that, the query column shows last/current query and that is sometimes a clue. (Also, if your clients are not setting application name, fix them.)

If you don't want client applications leaving connections idle, then clients should release connections when not using them.







[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux