Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id BB45A9FC2C1 for ; Fri, 22 Jun 2007 06:13:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 72126-06 for ; Fri, 22 Jun 2007 06:13:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 13C3D9FC21E for ; Fri, 22 Jun 2007 06:13:38 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 3EA8D31415; Fri, 22 Jun 2007 11:13:36 +0200 (MET DST) From: Rainer Bauer X-Newsgroups: pgsql.performance Subject: Re: Data transfer very slow when connected via DSL Date: Fri, 22 Jun 2007 11:15:12 +0200 Organization: Hub.Org Networking Services Lines: 24 Message-ID: References: <7be3f35d0706210801p732f2e73o147e3cbc0dc98153@mail.gmail.com> <24rl73d5td717rimunndjnjghfl1pgqojh@4ax.com> <10461.1182477071@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org X-Newsreader: Forte Agent 4.2/32.1117 To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.293 tagged_above=0 required=5 tests=AWL=0.292, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200706/515 X-Sequence-Number: 25548 Hello Tom, >This previous post says that someone else solved an ODBC >performance problem with UseDeclareFetch=1: I thought about that too, but enabling UseDeclareFetch will slow down the query: it takes 30 seconds instead of 8. >It's not immediately clear why pgAdmin would have the same issue, >though, because AFAIK it doesn't rely on ODBC. No it doesn't. That's the reason I used it to verify the behaviour. But I remember Dave Page mentioning using a virtual list control to display the results and that means a round trip for every tuple. >I just finished looking through our archives for info about >Windows-specific network performance problems. I don't think it's a Windows-specific problem, because psql is doing the job blindingly fast. The problem lies in the way my application is coded. See the response to Dimitri for details. Rainer