Re: Why would I want to use connection pooling middleware?

Поиск
Список
Период
Сортировка
Искать
От
Kirk Strauser
Тема
Re: Why would I want to use connection pooling middleware?
Дата
Msg-id
8F542701-5747-40AB-A63A-312F8185EFCD@strauser.com
Ответ на
Список
Дерево обсуждения
Why would I want to use connection pooling middleware? Kirk Strauser <kirk@strauser.com>
Re: Why would I want to use connection pooling middleware? Bill Moran <wmoran@potentialtech.com>
Re: Why would I want to use connection pooling middleware? Kirk Strauser <kirk@strauser.com>
Followup: Here's why I want to use connection pooling middleware! Kirk Strauser <kirk@strauser.com>
Re: Why would I want to use connection pooling middleware? Guy Rouillier <guyr-ml1@burntmail.com>
Re: Why would I want to use connection pooling middleware? Sam Mason <sam@samason.me.uk>
Re: Why would I want to use connection pooling middleware? Steve Crawford <scrawford@pinpointresearch.com>
Re: Why would I want to use connection pooling middleware? Kirk Strauser <kirk@strauser.com>
Re: Why would I want to use connection pooling middleware? Bill Moran <wmoran@potentialtech.com>
Re: Why would I want to use connection pooling middleware? Kirk Strauser <kirk@strauser.com>
Re: Why would I want to use connection pooling middleware? Bill Moran <wmoran@potentialtech.com>
Re: Why would I want to use connection pooling middleware? Steve Crawford <scrawford@pinpointresearch.com>
Re: Why would I want to use connection pooling middleware? Kirk Strauser <kirk@strauser.com>
Re: Why would I want to use connection pooling middleware? "Scott Marlowe" <scott.marlowe@gmail.com>
Re: Why would I want to use connection pooling middleware? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why would I want to use connection pooling middleware? Alvaro Herrera <alvherre@commandprompt.com>
Re: Why would I want to use connection pooling middleware? Kirk Strauser <kirk@strauser.com>
Re: Why would I want to use connection pooling middleware? "Christopher Browne" <cbbrowne@gmail.com>
On Jan 15, 2009, at 10:08 AM, Tom Lane wrote:

>  As an example, any system catalog update has to be broadcast to all  
> live backends, and they all have to dutifully search their catalog  
> caches to flush stale entries.  That costs the same whether the  
> backend is being put to use or has been sitting idle for minutes.

I didn't realize that.  I wasn't sure what types of overheads were  
involved and didn't think about those sorts of things.

> There's no percentage in trying to pool connections from applications
> that are constantly doing something; but webserver sessions tend to  
> have
> lots of user "think time" as well as similar DB environments, so often
> they can be pooled profitably.


That makes sense.  Along those lines, how do you actually enable  
connection pooling in pgpool-II?  I've RTFM a few times but it doesn't  
seem to have a flag for "enable_pooling".  Is "num_init_children"  
effectively the same as a hypothetical "max_children?"  If I set it to  
"1" and leave "max_pool" at "4", then clients queue up while one at a  
time gets to connect.

Sorry, I know this isn't the pgpool-II mailing list.  :-)
-- 
Kirk Strauser




В списке pgsql-general по дате отправления
От: Bill Moran
Дата:
От: Guy Rouillier
Дата:
FAQ