Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 7A5469FB1E0 for ; Thu, 19 Oct 2006 09:54: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 00909-05 for ; Thu, 19 Oct 2006 09:54:52 -0300 (ADT) 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 607D99FA1A7 for ; Thu, 19 Oct 2006 09:54:48 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id 3237E183872F for ; Thu, 19 Oct 2006 14:54:46 +0200 (CEST) X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Oct 19 14:54:45 2006 X-DSPAM-Confidence: 0.5554 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 45377595154362932916029 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 W7lRXreif9aB for ; Thu, 19 Oct 2006 14:54:45 +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 5C1EB1838159 for ; Thu, 19 Oct 2006 14:54:45 +0200 (CEST) Message-ID: <45377595.4070306@freesurf.fr> Date: Thu, 19 Oct 2006 14:54:45 +0200 From: Arnaud Lesauvage User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Improve ODBC Throughput ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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.285 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200610/52 X-Sequence-Number: 8315 Hi list ! I mostly use my PostgreSQL as a backend DB with Access2000 frontends. The tables are linked via psqlODBC. The problem I have is that even though queries / views run very fast, the data take a long time to arrive to the client. In the best situations, data is sent/received at ~500kB per second (for instance, tables with only one column, which is a very large text field >10.000 bytes per field). In bad situations, I am at ~50kB per second. If the queries / views return large resultsets, it can seconds for the table to open., even though the query ran in milliseconds on the server (explain analyze proves this). What can I do to improve this throughput ? Either on the server side, or on the ODBC client side ? As a side note : network congestion, server acitvity is not a good explanation. This server also is a file server, and I transfer files at 10MB per second all the time. Thanks for your advices ! -- Arnaud