Re: How to use pgbouncer

From: Filip Rembiałkowski <filip(dot)rembialkowski(at)gmail(dot)com>
To: Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to use pgbouncer
Date: 2010-12-21 17:11:09
Message-ID: AANLkTimkP9DjWO3Oifw4T1YpqQZ9outhNjLupik7T6Rg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/12/21 Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>:
> Dear all,
>
> I am not able to find any useful document regarding Configuration and
> Running Pgbouncer with Postgres-8.4.2.

that's strange, there are several good pages on the web; there is also
my mini-howto:
http://filip.rembialkowski.net/pgbouncer-mini-howto-benchmark/

>
> How it helps and is it able to boost some performance ?

PgBouncer is a connection pooler. I wonder why do you want to use it,
if you don't know what it is?

it can help in many ways, two most obvious points:
- reduce number of postgres backends (more resources for the server)
- reduce cost of single connection from the application to postgres

> Or if there is another useful tool available for Connection Pooling. Please
> guide me for this.

yes there are some; see
http://wiki.postgresql.org/wiki/Replication,_Clustering,_and_Connection_Pooling

it depends on what you need. pgbouncer is the smallest and most
lightweight pooler available.

FR

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma 2010-12-21 17:31:36 Re: How to use pgbouncer
Previous Message bricklen 2010-12-21 16:29:27 Re: Can the query planner create indexes?