Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 114FA9FBD88 for ; Wed, 28 Feb 2007 19:03:11 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 54258-10 for ; Wed, 28 Feb 2007 19:02:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from yucaipaco.com (yucaipaco.com [82.165.181.113]) by postgresql.org (Postfix) with ESMTP id D38DB9FBAD4 for ; Wed, 28 Feb 2007 19:03:05 -0400 (AST) Received: (qmail 327 invoked by uid 210); 28 Feb 2007 15:05:27 -0800 Received: from 10.23.112.225 by yucmail (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.88.2/1624. f-prot: 4.6.5/3.16.13. spamassassin: 3.1.3. perlscan: 1.25st. Clear:RC:1(10.23.112.225):. Processed in 0.219227 secs); 28 Feb 2007 23:05:27 -0000 Received: from unknown (HELO ?10.23.112.225?) (yucrelay@10.23.112.225) by yucaipaco.com with ESMTPA; 28 Feb 2007 15:05:27 -0800 Message-ID: <45E60A11.6060501@yucaipaco.com> Date: Wed, 28 Feb 2007 15:02:41 -0800 From: David Gardner User-Agent: Thunderbird 1.5.0.9 (X11/20070131) MIME-Version: 1.0 To: Patrick Hatcher CC: pgsql-odbc@postgresql.org Subject: Re: Driver seems to hang fetching data References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/52 X-Sequence-Number: 8676 I seem to remember having problems with Declare/Fetch, after turning it off I had a huge performance boost when running large reports. Patrick Hatcher wrote: > driver version 8.02.02 > > I have a query that returns around 30K records. I have set the cache to > 1000 records. It appears that while pulling data, the driver hangs for > around 30 seconds or more and then continues to the next batch of records. > It does this same sort of behavior whether it caching is set to 100 or > 1000. I am using DECLARE/FETCH. > Is there anywhere I can check for the bottle neck? > > Thanks. > > Patrick Hatcher > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings > >