Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] more than 100 records

From: Byron Nikolaidis <byronn(at)insightdist(dot)com>
To: Christopher Luk <wluk(at)hkcccc(dot)org>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] more than 100 records
Date: 1998-04-23 13:10:53
Message-ID: 353F3DDD.34CEB0D3@insightdist.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
Christopher Luk wrote:

> Thanks for the INSIGHT odbc drivers, its work well. However, its appear
> to be quite slow. I am testing it on some table with more than 100
> records (link)and with some "text" field. Server side is P166 w/ linux
> 2.0.30 & postgres 6.3, client side is P166MMX on chinese windows 95 w/
> access 97. Duno is there any method to improve. I heard that there is a
> method to increase the "cache" for the client, how can I do it?
> What does slow means? I can export the linked table to access table. The
> differ in speed for loading is very large. w/ access table, <10sec, w/
> linked table, >2mins.......
>

When you say slow, what are you comparing it to?  So far, from our testing,
and from other responses, the new driver is much faster than the old one.
And there are of course, other reasons why things might be slow.  Perhaps
the server was bogged down, etc.

How big were the 'text' fields?  The new driver allows text fields to be 4k
big and handles it with a different API, whereas the old driver limited them
to 255 bytes.  Maybe you might try a different data type, especially if the
data you are using is small.

If you want, you can send some more statistics on your table, such as the
fields and data types, and number of rows, etc.Byron


In response to

pgsql-interfaces by date

Next:From: Julia A.CaseDate: 1998-04-23 13:22:26
Subject: Re: [INTERFACES] Can't connect with ODBC
Previous:From: Byron NikolaidisDate: 1998-04-23 12:34:59
Subject: ODBC Driver fixes (Borland, etc).

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group