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 65DC754D3A for ; Wed, 23 Feb 2005 20:24:17 +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 25554-01 for ; Wed, 23 Feb 2005 20:24:08 +0000 (GMT) Received: from web20822.mail.yahoo.com (web20822.mail.yahoo.com [216.136.227.135]) by svr1.postgresql.org (Postfix) with SMTP id 1A06553C91 for ; Wed, 23 Feb 2005 20:24:07 +0000 (GMT) Received: (qmail 33502 invoked by uid 60001); 23 Feb 2005 20:24:08 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=W8Le8d1hPSEnRyenvtORX7fn+5B9yfp/gLr9PweaeXXXQUcbR85nCAp4SIUPqvoC1xpwE7UZsl3LBQyJ1Gf4zfmD9EAGeqtdEXWsPWlcTuf0arMvf+3EQxtmCDR8j3keaWr7rw7kqfgSeI4HBI0MY8XWMr/Aw1I5bDMFNP5/scA= ; Message-ID: <20050223202408.33500.qmail@web20822.mail.yahoo.com> Received: from [24.248.12.141] by web20822.mail.yahoo.com via HTTP; Wed, 23 Feb 2005 12:24:08 PST Date: Wed, 23 Feb 2005 12:24:08 -0800 (PST) From: Jeff Eckermann Subject: Re: Connection Pooling Problems Dave Page To: James M Doherty PGADMIN , pgsql-odbc@postgresql.org In-Reply-To: <00ad01c519c4$456b46f0$68363c90@ad.tri.sbc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.361 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200502/109 X-Sequence-Number: 4999 --- James M Doherty PGADMIN wrote: > > Since there are cells in EXCEL each containing a > query, The server gets hit > with a connection request per query. This > in turn originally exceeded the maximum connections > supported by my > configuration on the server. I raised the number of > connections supported to 500, however this seems > like a work around which > may resurface again soon. You might want to rethink your design. Using something like ADO, it's fairly easy to get your data in a single query, and assign the values to cells however you want. > > I have verified that POOLING is turned on in the > ODBC driver from the > ODBC-ADMIN tool. > > I am looking for ideas on how to further determine > what is actually not > working. Is it something in the driver ? or Is it > something to do with > EXCEL's handling of queries. > > Jim > > ----- Original Message ----- > From: "Jeff Eckermann" > To: "James M Doherty PGADMIN" ; > > > Sent: Wednesday, February 23, 2005 10:11 AM > Subject: Re: [ODBC] Connection Pooling Problems Dave > Page > > > > --- James M Doherty PGADMIN > > wrote: > > > >> > >> DOES ANYONE HAVE ANY EXPERIENCE WITH THIS .... > DAVE > >> PAGE? ANYONE... > > > > More information would be good. Relevant code, > > relevant extracts from log files. What is the > > application actually doing, when the problem > occurs? > > > >> > >> Jim > >> >> > >> ----- Original Message ----- > >> From: James M Doherty PGADMIN > >> To: pgsql-odbc@postgresql.org > >> Sent: Wednesday, February 16, 2005 12:18 PM > >> Subject: [ODBC] Connection Pooling Problems > >> > >> > >> 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 > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - now with 250MB free storage. Learn > more. > > http://info.mail.yahoo.com/mail_250 > > > > __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail