Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 07F699FB3D2 for ; Fri, 20 Oct 2006 06:12:07 -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 91900-07 for ; Fri, 20 Oct 2006 09:12:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (ftp.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id BDB919FB3BD for ; Fri, 20 Oct 2006 06:12:00 -0300 (ADT) Received: (qmail 28141 invoked from network); 20 Oct 2006 18:11:58 +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 18:11:58 +0900 Message-ID: <453892DD.6000007@tpf.co.jp> Date: Fri, 20 Oct 2006 18:11:57 +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> <453883CB.8080601@tpf.co.jp> <45388D9E.1090301@freesurf.fr> In-Reply-To: <45388D9E.1090301@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=2.43 tagged_above=0 required=5 tests=RCVD_IN_WHOIS_BOGONS X-Spam-Level: ** X-Archive-Number: 200610/81 X-Sequence-Number: 8344 Arnaud Lesauvage wrote: > 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. What is the type of the field > 10000 bytes in PG ? If it's the text type, you have to turn on the Text As LongVarchar option. regards, Hiroshi Inoue