Search Postgresql Archives

Re: postgres: dbname dbuser 9.9.9.9[2222] PARSE waiting

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

 



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@xxxxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux