Re: connection poolers' db connections - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: connection poolers' db connections
Date
Msg-id 1360767414.10062.YahooMailNeo@web162901.mail.bf1.yahoo.com
Whole thread Raw
In response to connection poolers' db connections  (Yetkin Öztürk <yetkin85@gmail.com>)
Responses Re: connection poolers' db connections
List pgsql-performance
Yetkin Öztürk <yetkin85@gmail.com> wrote:

> Which key should i set for changing the limit of connection
> between pgbouncer <-> posgres8.4?

The options which end in _pool_size.  max_client_conn specifies how
many application connections can be made to pgbouncer.

It's generally best to use pool_mode of transaction if you can.

> I want to increase the connections of pgbouncer opened on posgres
> (pgbouncer<->posgres) to eliminate waiting connections in the
> pool, to consume queries faster.

Be sure to read this:

http://wiki.postgresql.org/wiki/Number_Of_Database_Connections

Beyond a certain point, starting the query sooner will cause it to
finish later.  Really.

--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-performance by date:

Previous
From: Yetkin Öztürk
Date:
Subject: connection poolers' db connections
Next
From: Yetkin Öztürk
Date:
Subject: Re: connection poolers' db connections