X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 1BF0B9FB1B8 for ; Wed, 2 Aug 2006 04:30:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 09220-06 for ; Wed, 2 Aug 2006 04:30:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.codata.be (217.64.244.119.mactelecom.net [217.64.244.119]) by postgresql.org (Postfix) with SMTP id EE5589FB0D1 for ; Wed, 2 Aug 2006 04:30:50 -0300 (ADT) Received: FROM [217.112.177.238] BY mail.codata.be with hMailServer ; Wed, 2 Aug 2006 09:30:46 +0200 Message-ID: <44D054A1.1020101@freesurf.fr> Date: Wed, 02 Aug 2006 09:30:41 +0200 From: Arnaud Lesauvage User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: thewild@free.fr CC: Philippe Lang , pgsql-odbc@postgresql.org Subject: Re: TCP_NO_DELAY & TcpAckFrequency (Re: Slow query through References: <6C0CF58A187DA5479245E0830AF84F421D0FD6@poweredge.attiksystem.ch> <44CFBB8E.6000303@freesurf.fr> In-Reply-To: <44CFBB8E.6000303@freesurf.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 0631-1, 01/08/2006), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.431 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200608/15 X-Sequence-Number: 7979 Arnaud Lesauvage wrote: > Philippe Lang a écrit : >> I suggest you try another client, like for example MS Access 2003 with a 2003 MDB, for example, just to make sure the problems comes from the driver. What you experience might be a problem that come from Autocad... >> >> Can you make a test with DAO as well? Quite old, but might be faster as well... > > I can try from within Access2000, but I don't have Access2003. > I'll try DAO as well. I found the problem ! I just used UseDeclareFetch=1 in the connection string, and now my queries are blindingly fast !!! I am quite amazed, I am pretty sure I tried this before... I even thin I removed this setting when trying to find the cause of the problemm !... Thanks a lot to all the people who helped me ! Regards -- Arnaud