Re: Pooling in Core WAS: Need help in performance tuning. - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Pooling in Core WAS: Need help in performance tuning.
Date
Msg-id 4C5088B1.70902@agliodbs.com
Whole thread Raw
In response to Re: Pooling in Core WAS: Need help in performance tuning.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Pooling in Core WAS: Need help in performance tuning.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-performance
On 7/27/10 6:56 PM, Tom Lane wrote:
> Yeah, if it weren't for that I'd say "sure let's try it".  But I'm
> afraid we'd be introducing significant headaches in return for a gain
> that's quite speculative.

Well, the *gain* isn't speculative.  For example, I am once again
dealing with the issue that PG backend processes on Solaris never give
up their RAM, resulting in pathological swapping situations if you have
many idle connections.  This requires me to install pgpool, which is
overkill (since it has load balancing, replication, and more) just to
make sure that connections get recycled so that I don't have 300 idle
connections eating up 8GB of RAM.

Relative to switching databases, I'd tend to say that, like pgbouncer
and pgpool, we don't need to support that.  Each user/database combo can
have their own "pool".  While not ideal, this would be good enough for
90% of users.

--
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

pgsql-performance by date:

Previous
From: Yeb Havinga
Date:
Subject: Re: Testing Sandforce SSD
Next
From: Robert Haas
Date:
Subject: Re: Pooling in Core WAS: Need help in performance tuning.