Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 90C709FB251 for ; Fri, 20 Oct 2006 05:49:49 -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 90718-01 for ; Fri, 20 Oct 2006 08:49:37 +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 45FC49FB253 for ; Fri, 20 Oct 2006 05:49:37 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id BB51D18386F9; Fri, 20 Oct 2006 10:49:35 +0200 (CEST) X-DSPAM-Result: Innocent X-DSPAM-Processed: Fri Oct 20 10:49:35 2006 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 45388d9f104412016469823 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 z1nxGa0Oktor; Fri, 20 Oct 2006 10:49:35 +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 CB91518386A0; Fri, 20 Oct 2006 10:49:34 +0200 (CEST) Message-ID: <45388D9E.1090301@freesurf.fr> Date: Fri, 20 Oct 2006 10:49:34 +0200 From: Arnaud Lesauvage User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Hiroshi Inoue CC: pgsql-odbc@postgresql.org Subject: Re: Improve ODBC Throughput ? References: <45377595.4070306@freesurf.fr> <4537F047.6060901@tpf.co.jp> <45387ACF.9010407@freesurf.fr> <453883CB.8080601@tpf.co.jp> In-Reply-To: <453883CB.8080601@tpf.co.jp> 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/79 X-Sequence-Number: 8342 Hiroshi Inoue a écrit : > Arnaud Lesauvage wrote: >> Hiroshi Inoue a écrit : >>> Arnaud Lesauvage wrote: >>>> 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). >>>> >>> >>> How are you setting the "Text As LongVarchar" option ? >>> Are the columns text or memo using Access ? >> >> TextAsLongVarchar=0 but the columns are VarChar in Access. > > AFAIK the max text(VarChar) size in Access is 255. > Can you get the content of fields > 10000 bytes correctly > under the setting ? In fact, the only text fields I have are memo in access, but I have very fex text fields. Most of them are character varying of length <= 254.