Re: [GENERAL] postgres: dbname dbuser 9.9.9.9[2222] PARSE waiting - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] postgres: dbname dbuser 9.9.9.9[2222] PARSE waiting
Date
Msg-id fd1eb50a-6f76-745b-9a49-ca34615b87ae@aklaver.com
Whole thread Raw
In response to Re: [GENERAL] postgres: dbname dbuser 9.9.9.9[2222] PARSE waiting  (Melvin Davidson <melvin6925@gmail.com>)
List pgsql-general
On 06/27/2017 03:41 PM, Melvin Davidson wrote:
>
>
> On Tue, Jun 27, 2017 at 6:32 PM, Adrian Klaver

> *His problem is NOT 'idle in transaction' per se. It is all connections
> are used up.*

Not following. The 'idle in transaction' queries are coming in through a
connection so having them around is keeping a connection open. Dealing
with them will help with the connection count. Using pg_bouncer is an
option, but if you have a process that is not properly closing
transactions/connections you could get into an arms race between that
process and the size of your connection pool.

> *Hence the need for pg_bouncer for connection pooling.*
> --
> *Melvin Davidson*



--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: PT
Date:
Subject: Re: [GENERAL] postgres: dbname dbuser 9.9.9.9[2222] PARSE waiting
Next
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] postgres: dbname dbuser 9.9.9.9[2222] PARSE waiting