Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 710319FB20F for ; Thu, 19 Oct 2006 11:28:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 53105-03 for ; Thu, 19 Oct 2006 14:26:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from serveurmail01.codata.be (125.123.146.82.ipv4.evonet.be [82.146.123.125]) by postgresql.org (Postfix) with ESMTP id B09569FB2E2 for ; Thu, 19 Oct 2006 11:24:08 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id 470E3183872C; Thu, 19 Oct 2006 16:24:07 +0200 (CEST) X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Oct 19 16:24:06 2006 X-DSPAM-Confidence: 0.5282 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 45378a86204771336712104 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at Received: from serveurmail01.codata.be ([127.0.0.1]) by localhost (serveurmail01.codata.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R6rssGwYh+Dv; Thu, 19 Oct 2006 16:24:06 +0200 (CEST) Received: from [127.0.0.1] (103.186-112-217.adsl.belcenter.be [217.112.186.103]) by serveurmail01.codata.be (Postfix) with ESMTP id 10F3B1838727; Thu, 19 Oct 2006 16:24:05 +0200 (CEST) Message-ID: <45378A85.6070202@freesurf.fr> Date: Thu, 19 Oct 2006 16:24:05 +0200 From: Arnaud Lesauvage User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: "Obe, Regina" CC: pgsql-odbc@postgresql.org Subject: Re: Improve ODBC Throughput ? References: <53F9CF533E1AA14EA1F8C5C08ABC08D20107009A@ZDND.DND.boston.cob> In-Reply-To: <53F9CF533E1AA14EA1F8C5C08ABC08D20107009A@ZDND.DND.boston.cob> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 0642-3, 19/10/2006), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.335 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200610/55 X-Sequence-Number: 8318 Obe, Regina a écrit : > What kinds of indexes do you have on your tables? I think the way > Access works to limit transfer it first pulls the indexes and probably > the primary one first to determine how to fetch and how many to fetch. > I suspect if you have no indexes performance would be really bad. > > Also which version of psqlODBC driver are you using? I have integer primary keys on most tables, if not all of them. Even my views have an integer primary key (at least, something that can be used as an integer pkey in Access). My version of psqlODBC is 8.1.2.0. I forgot to mention something important : I obtain the best performances (500kB / sec, cf my first post) when I am NOT in access. In a VBA module (Autocad, not Access), I open an ADO connection to PostgreSQL and directly query the server (no linked table involved here). But still, this is "only" 500kB/sec...