X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 89CCB9DC81A for ; Tue, 24 Jan 2006 17:10:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39026-04 for ; Tue, 24 Jan 2006 17:10:15 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 26A169DC801 for ; Tue, 24 Jan 2006 17:10:11 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k0OLA8mV032007; Tue, 24 Jan 2006 22:10:08 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k0OLA8lq032006; Tue, 24 Jan 2006 22:10:08 +0100 Date: Tue, 24 Jan 2006 22:10:08 +0100 From: Ludek Finstrle To: Arnaud Lesauvage Cc: pgsql-odbc@postgresql.org Subject: Re: Slow query through ODBC Message-ID: <20060124211008.GA31985@soptik.pzkagis.cz> References: <43D4A744.8060104@freesurf.fr> <20060123103503.GA21460@soptik.pzkagis.cz> <43D4B6F9.10305@freesurf.fr> <20060123113239.GB21840@soptik.pzkagis.cz> <43D4C3B3.7070509@freesurf.fr> <20060123133454.GA23076@soptik.pzkagis.cz> <43D4EB69.7050401@free.fr> <20060123210634.GB25572@soptik.pzkagis.cz> <43D64BF8.5080902@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D64BF8.5080902@free.fr> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.085 required=5 tests=[AWL=0.085] X-Spam-Score: 0.085 X-Spam-Level: X-Archive-Number: 200601/239 X-Sequence-Number: 7054 Tue, Jan 24, 2006 at 04:47:04PM +0100, Arnaud Lesauvage wrote: > I went on with my investigations. > > I now believe that the problem lies within the network dialog > (between my client and my server). > If I transfer this table on my workstation (I have a local > postgresql installation too), the query runs blindingly fast (less > than 1 sec). > I don't understand what the problem could be though. > > This thread in the mailing list archive looks like the problem > mentionned is the same as mine, but they don't really mention a fix : > http://archives.postgresql.org/pgsql-performance/2005-06/msg00593.php > > My server is on the LAN, so bandwidth cannot be a problem. > Furthermore, I just migrated from a MySQL 5.0 server. The exact > same query on this MySQL server, through MyODBC, took less than 1 > second too, so my network is not the problem. > > Are there specific client/server protocol tuning parameters ? I know about nothing like that. > Have you ever heard of such issues ? No, I haven't heard it with 08.01 yet. Regards, Luf P.S. I reply mainly for Cc: pgsql-odbc - more heads more knowledge ;-)