pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James M Doherty PGADMIN <jimmyd@jdoherty.net>
To: pgsql-odbc@postgresql.org
Subject: Connection Pooling Problems
Date: Wed, 16 Feb 2005 12:18:37 -0600
Message-ID: <00b301c51453$ef69da20$68363c90@ad.tri.sbc.com> (raw)

I have an application that uses the ODBC interface from a window XP machine. I have set connection pooling on the pgsql driver to on with
a timeout of 120 seconds. This is being called from an Excel spread sheet. When the user refreshes the spread sheet I get hundreds of 
connections logged in /var/log/messages from the user. There are about 200 queries which try to execute at close to the same time. 

As a temporary measure I have increased the number of simultaneous connections to 500 to support this, however it does not look like 
connection pooling is working correctly. Any ideas on how I might diagnose this, or is there a known fix for this type of problem.

I am running 7.4 and 7.03.01.00 of the ODBC driver.

Thanks for any help you can give me !

Jim



James M Doherty
jim@jdoherty.net 
Georgetown, TX 78626
"There is no luck without discipline" IRISH PROVERB

Attachments:

tech.gif (image/gif, 862B) download view image

Message-ID: <00b301c51453$ef69da20$68363c90@ad.tri.sbc.com>
Permalink:  ../00b301c51453$ef69da20$68363c90@ad.tri.sbc.com/
Also on:    postgresql.org/message-id/00b301c51453$ef69da20$68363c90@ad.tri.sbc.com

 · 

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: jimmyd@jdoherty.net
  Subject: Re: Connection Pooling Problems
  In-Reply-To: <00b301c51453$ef69da20$68363c90@ad.tri.sbc.com>
  References: <00b301c51453$ef69da20$68363c90@ad.tri.sbc.com>

* 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