Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E9BB49FB203 for ; Fri, 20 Oct 2006 05:07:46 -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 37281-01 for ; Fri, 20 Oct 2006 05:07:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (mail.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id D1CDF9FB1B8 for ; Fri, 20 Oct 2006 05:07:41 -0300 (ADT) Received: (qmail 23074 invoked from network); 20 Oct 2006 17:07:40 +0900 Received: from unknown (HELO ?100.0.32.170?) (100.0.32.170) by sd2.tpf-fw-c.co.jp with SMTP; 20 Oct 2006 17:07:40 +0900 Message-ID: <453883CB.8080601@tpf.co.jp> Date: Fri, 20 Oct 2006 17:07:39 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Arnaud Lesauvage CC: pgsql-odbc@postgresql.org Subject: Re: Improve ODBC Throughput ? References: <45377595.4070306@freesurf.fr> <4537F047.6060901@tpf.co.jp> <45387ACF.9010407@freesurf.fr> In-Reply-To: <45387ACF.9010407@freesurf.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.923 tagged_above=0 required=5 tests=AWL, RCVD_IN_WHOIS_BOGONS X-Spam-Level: * X-Archive-Number: 200610/77 X-Sequence-Number: 8340 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 ? regards, Hiroshi Inoue