pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Raymond O'Donnell <rod@iol.ie>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Connections sitting idle...
Date: Thu, 05 Dec 2002 19:09:56 +0900
Message-ID: <3DEF25F4.D92A5CF6@tpf.co.jp> (raw)
References: <3DEF21F9.503.187D9C@localhost>

Raymond O'Donnell wrote:
> 
> On 5 Dec 2002 at 11:53, Hiroshi Inoue wrote:
> 
> > Yes IIS uses the connection pooling mechanism by default.
> > Pooled connections would be re-used if possible for other
> > sessions without re-establishing new connections.
> 
> I should have mentioned that I turned off connection pooling for the
> PostgreSQL ODBC driver to see would it make a difference, but the
> backends hung around anyway.

IIS can use connection pooling by itself.

> On the production system I will use
> pooling - if the backends are there, hopefully they'll be re-used
> rather than having new ones opened. I still have to try this out.
> 
> > Anyway I can't see other sessions' info at all in your
> > example. How do other sessions behave ?
> 
> The same thing happens consistently.

I saw no other session's log in your example between
'select * from surveyowners' and the call for PGAPI_
Disconnect. I'm wondering how the number of connections
increased in such a situation.

regards,
Hiroshi Inoue
	http://w2422.nsk.ne.jp/~inoue/



view thread (10+ messages)  latest in thread

Message-ID: <3DEF25F4.D92A5CF6@tpf.co.jp>
Permalink:  ../3DEF25F4.D92A5CF6@tpf.co.jp/
Also on:    postgresql.org/message-id/3DEF25F4.D92A5CF6@tpf.co.jp

 · 

reply

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-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, rod@iol.ie
  Subject: Re: Connections sitting idle...
  In-Reply-To: <3DEF25F4.D92A5CF6@tpf.co.jp>
  References: <3DEF21F9.503.187D9C@localhost> <3DEF25F4.D92A5CF6@tpf.co.jp>

* 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