X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 160208B9B63 for ; Wed, 23 Feb 2005 15:36:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34251-10 for ; Wed, 23 Feb 2005 15:36:09 +0000 (GMT) Received: from jdoherty.net (cdm-208-180-124-109.gtwn.cox-internet.com [208.180.124.109]) by svr1.postgresql.org (Postfix) with SMTP id 6C6A98B9B45 for ; Wed, 23 Feb 2005 15:36:11 +0000 (GMT) Received: (qmail 3587 invoked from network); 23 Feb 2005 16:35:36 -0000 Received: from unknown (HELO PCDOHERTY) (172.16.1.21) by 172.16.1.21 with SMTP; 23 Feb 2005 16:35:36 -0000 Message-ID: <008301c519bd$64048ba0$68363c90@ad.tri.sbc.com> From: "James M Doherty PGADMIN" To: References: <00b301c51453$ef69da20$68363c90@ad.tri.sbc.com> Subject: Re: Connection Pooling Problems Dave Page Date: Wed, 23 Feb 2005 09:36:06 -0600 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_007F_01C5198B.191B5F60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.235 tagged_above=0 required=5 tests=AWL, EXTRA_MPART_TYPE, FORGED_RCVD_HELO, HTML_MESSAGE, RAZOR2_CF_RANGE_51_100, RAZOR2_CHECK, RCVD_BY_IP X-Spam-Level: * X-Archive-Number: 200502/103 X-Sequence-Number: 4993 This is a multi-part message in MIME format. ------=_NextPart_000_007F_01C5198B.191B5F60 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0080_01C5198B.191B5F60" ------=_NextPart_001_0080_01C5198B.191B5F60 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable DOES ANYONE HAVE ANY EXPERIENCE WITH THIS .... DAVE PAGE? ANYONE... Jim ----- Original Message -----=20 From: James M Doherty PGADMIN=20 To: pgsql-odbc@postgresql.org=20 Sent: Wednesday, February 16, 2005 12:18 PM Subject: [ODBC] Connection Pooling Problems=20 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=20 connections logged in /var/log/messages from the user. There are about = 200 queries which try to execute at close to the same time.=20 As a temporary measure I have increased the number of simultaneous = connections to 500 to support this, however it does not look like=20 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=20 Georgetown, TX 78626 "There is no luck without discipline" IRISH PROVERB ------=_NextPart_001_0080_01C5198B.191B5F60 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
 
DOES ANYONE HAVE ANY EXPERIENCE WITH THIS .... DAVE = PAGE?=20 ANYONE...
 
Jim
 
 
----- Original Message -----
From:=20 James M Doherty=20 PGADMIN
Sent: Wednesday, February 16, = 2005 12:18=20 PM
Subject: [ODBC] Connection = Pooling=20 Problems

I have an application that uses the ODBC interface from a window = XP=20 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=20 sheet. When the user refreshes the spread sheet I get hundreds of =
connections logged in /var/log/messages from the user. There are = about=20 200 queries which try to execute at close to the same time.
 
As a temporary measure I have increased the number of = simultaneous=20 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=20
Georgetown, TX 78626
"There is no luck without discipline" = IRISH=20 PROVERB
------=_NextPart_001_0080_01C5198B.191B5F60-- ------=_NextPart_000_007F_01C5198B.191B5F60 Content-Type: image/gif; name="tech.gif" Content-Transfer-Encoding: base64 Content-ID: <007e01c519bd$63b11470$68363c90@ad.tri.sbc.com> R0lGODlhFAAUAPcAAP//////zP//mf//Zv//M///AP/M///MzP/Mmf/MZv/MM//MAP+Z//+ZzP+Z mf+ZZv+ZM/+ZAP9m//9mzP9mmf9mZv9mM/9mAP8z//8zzP8zmf8zZv8zM/8zAP8A//8AzP8Amf8A Zv8AM/8AAMz//8z/zMz/mcz/Zsz/M8z/AMzM/8zMzMzMmczMZszMM8zMAMyZ/8yZzMyZmcyZZsyZ M8yZAMxm/8xmzMxmmcxmZsxmM8xmAMwz/8wzzMwzmcwzZswzM8wzAMwA/8wAzMwAmcwAZswAM8wA AJn//5n/zJn/mZn/Zpn/M5n/AJnM/5nMzJnMmZnMZpnMM5nMAJmZ/5mZzJmZmZmZZpmZM5mZAJlm /5lmzJlmmZlmZplmM5lmAJkz/5kzzJkzmZkzZpkzM5kzAJkA/5kAzJkAmZkAZpkAM5kAAGb//2b/ zGb/mWb/Zmb/M2b/AGbM/2bMzGbMmWbMZmbMM2bMAGaZ/2aZzGaZmWaZZmaZM2aZAGZm/2ZmzGZm mWZmZmZmM2ZmAGYz/2YzzGYzmWYzZmYzM2YzAGYA/2YAzGYAmWYAZmYAM2YAADP//zP/zDP/mTP/ ZjP/MzP/ADPM/zPMzDPMmTPMZjPMMzPMADOZ/zOZzDOZmTOZZjOZMzOZADNm/zNmzDNmmTNmZjNm MzNmADMz/zMzzDMzmTMzZjMzMzMzADMA/zMAzDMAmTMAZjMAMzMAAAD//wD/zAD/mQD/ZgD/MwD/ AADM/wDMzADMmQDMZgDMMwDMAACZ/wCZzACZmQCZZgCZMwCZAABm/wBmzABmmQBmZgBmMwBmAAAz /wAzzAAzmQAzZgAzMwAzAAAA/wAAzAAAmQAAZgAAMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAFAAUAEAIQwBJCBxI sKBBAAgTKlyYUCDDhwsdQpwoceLDihYjksh4cSNHjR9BhmzocSQAjCFRflTJkWVGlxZhUiw5UiZE gzhzBgQAOw== ------=_NextPart_000_007F_01C5198B.191B5F60--