From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin@postgresql.org
To: gnanam@zoniac.com
Subject: Re: Advice/guideline on increasing shared_buffers and kernel parameters
Date: Tue, 08 May 2012 09:38:35 -0500
Message-ID: <4FA8E99B0200002500047A16@gw.wicourts.gov> (raw)
In-Reply-To: <00e101cd2cfc$b6140b00$223c2100$@com>
References: <00da01cd2ce7$35d17780$a1746680$@com>
<00e101cd2cfc$b6140b00$223c2100$@com>
"Gnanakumar" <gnanam@zoniac.com> wrote:
> our web-based application has crossed more than 500 concurrent
> users. Hence we've already upgraded RAM and now we want to
> upgrade max connection parameter too. Yes, we're already using
> pgpool-II v3.1.1 for connection pooling.
The main point of using a connection pooler is to funnel a large
number of client connection into the pooler into a small number of
database connections. We get very good performance dealing with
thousands of concurrent users with a pool of 35 connections to the
database. We originally had a larger pool, but contention was
reducing performance, and we found that throughput and latency both
improved with a smaller pool of database connections.
If you want to handle more users than you can currently support, you
probably need to use fewer database connections.
-Kevin
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, gnanam@zoniac.com
Subject: Re: Advice/guideline on increasing shared_buffers and kernel parameters
In-Reply-To: <4FA8E99B0200002500047A16@gw.wicourts.gov>
References: <00da01cd2ce7$35d17780$a1746680$@com> <00e101cd2cfc$b6140b00$223c2100$@com> <4FA8E99B0200002500047A16@gw.wicourts.gov>
* 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