Re: Tomcat Connection Pool?

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: Bjørn T Johansen <btj(at)havleik(dot)no>
Cc: "pgsql-general (at) postgresql (dot) org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Tomcat Connection Pool?
Date: 2003-09-04 09:59:33
Message-ID: 20030904105933.G14868@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 03/09/2003 22:56 Bjørn T Johansen wrote:
> Oki, thx... Any ideas to what is sensible values also?
> (Like number of maxIdle compared to maxActive, etc..)
>

I think sensible values are going to be very dependent on the number of
requests. One way to find out might be to write a little utility to count
the number of back-end postgres connections and have it run every 3 or 4
seconds. That would give you an idea of the maximum and average number of
connections being used.

HTH

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2003-09-04 10:17:35 Re: Replaceing records
Previous Message Ron Johnson 2003-09-04 09:24:26 Re: Replaceing records