pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Arnaud Lesauvage <thewild@freesurf.fr>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Improve ODBC Throughput ?
Date: Fri, 20 Oct 2006 18:11:57 +0900
Message-ID: <453892DD.6000007@tpf.co.jp> (raw)
In-Reply-To: <45388D9E.1090301@freesurf.fr>
References: <45377595.4070306@freesurf.fr>
	<4537F047.6060901@tpf.co.jp>
	<45387ACF.9010407@freesurf.fr>
	<453883CB.8080601@tpf.co.jp>
	<45388D9E.1090301@freesurf.fr>

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



view thread (20+ messages)  latest in thread

Message-ID: <453892DD.6000007@tpf.co.jp>
Permalink:  ../453892DD.6000007@tpf.co.jp/
Also on:    postgresql.org/message-id/453892DD.6000007@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, thewild@freesurf.fr
  Subject: Re: Improve ODBC Throughput ?
  In-Reply-To: <453892DD.6000007@tpf.co.jp>
  References: <45377595.4070306@freesurf.fr> <4537F047.6060901@tpf.co.jp> <45387ACF.9010407@freesurf.fr> <453883CB.8080601@tpf.co.jp> <45388D9E.1090301@freesurf.fr> <453892DD.6000007@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox