pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@ymail.com>
To: Yetkin Öztürk <yetkin85@gmail.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: connection poolers' db connections
Date: Wed, 13 Feb 2013 06:56:54 -0800 (PST)
Message-ID: <1360767414.10062.YahooMailNeo@web162901.mail.bf1.yahoo.com> (raw)
In-Reply-To: <CALL033DxFBGa-GdYiqWL97tKHV0L+k40+zqCxpFQF-QC8F030g@mail.gmail.com>
References: <CALL033DxFBGa-GdYiqWL97tKHV0L+k40+zqCxpFQF-QC8F030g@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


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



view thread (3+ messages)  latest in thread

Message-ID: <1360767414.10062.YahooMailNeo@web162901.mail.bf1.yahoo.com>
Permalink:  ../1360767414.10062.YahooMailNeo@web162901.mail.bf1.yahoo.com/
Also on:    postgresql.org/message-id/1360767414.10062.YahooMailNeo@web162901.mail.bf1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: kgrittn@ymail.com, yetkin85@gmail.com
  Subject: Re: connection poolers' db connections
  In-Reply-To: <1360767414.10062.YahooMailNeo@web162901.mail.bf1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox