From: | Kirk Strauser <kirk(at)strauser(dot)com> |
---|---|
To: | Bill Moran <wmoran(at)potentialtech(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Why would I want to use connection pooling middleware? |
Date: | 2009-01-15 17:41:51 |
Message-ID: | 0F1F5A55-50BA-483D-85D4-4C59EC8F4725@strauser.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Jan 15, 2009, at 10:20 AM, Bill Moran wrote:
> I don't believe that's true. My understanding of pgpool is that it
> will
> reuse an existing connection if it's free, or open a new one if
> required.
Gah! It just made it worse!
$ ps auxwww | grep pgpool | grep dbuser | wc -l
30
$ ps auxwww | grep postgres: | grep dbuser | wc -l
38
So not only is it not sharing connections among clients, but it's
keeping old ones open too. This isn't really what I had in mind.
Also, many of the applications are launched in the morning and open a
connection, then get used all day, then closed at the end of the
afternoon. I'm starting to wonder if perhaps pgpool-II isn't what I
was looking for.
--
Kirk Strauser
From | Date | Subject | |
---|---|---|---|
Next Message | Jeremy Kister | 2009-01-15 18:02:58 | fastest way to upgrade from 8.2 to 8.3 |
Previous Message | Tom Lane | 2009-01-15 17:39:53 | Re: MD5 password issue |