Thanks Benjamin. Most of the time the database only has 5-6 connections, however we occasionally get a flood of connections which can mean 60+ connections (when a company email is sent out with a link to a web page), so I'm looking to handle these spikes in connections as best I can :-) Kieren Subject: Re: pgBouncer for connection pooling Date: Mon, 23 Aug 2010 22:15:34 -0600 From: kraj@xxxxxxxxxxxxx To: kierenscott@xxxxxxxxxxx; pgsql-admin@xxxxxxxxxxxxxx I have pgbouncer running on the same server, and I get over 2000 calls to a php page per minute. Each call does inserts data digests into partitioned tables. I also have a multi-threaded daemon connected to the same database running background operations on the data coming in. Works flawlessly. BTW, 20 connections is not a heavy load at all. In my application, pgbouncer has opened about 60 backends to handle the cases where I have a high oncurrency of data coming in at once, but usually the # non-idle connections is < 10.
From:
pgsql-admin-owner@xxxxxxxxxxxxxx [mailto:pgsql-admin-owner@xxxxxxxxxxxxxx] On
Behalf Of Kieren Scott
Hi, |