Re: odbc/ado problems - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: odbc/ado problems
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB3412A7491@Herge.rcsinc.local
Whole thread Raw
In response to odbc/ado problems  (Kroh István <istvan.kroh@pomme.hu>)
List pgsql-performance
> I'm new here, so hello to everybody!
>
> I'm in a deep truble using postgesSQL 7.2.0 on a low-end pc with SUSE 8.
> I'm
> using some databases from that pc through odbc (7.3.200). Until now i had
> no
> problems with this solution, everithing worked fine. But today i wrote a
> small app, that converts/copies some data from a database to an other
> database.
>
> During this work i wrote a simple query as follows:
> select pers_driving_license from person where pers_id=23456
>
> This should return a single varchar(20) field. Running this query over
> ADO/ODBC from a Delphi app tooks 50-100 secs. If i run this from pgAdmin
> II.
> it takes some msecs.

Question: what is your Delphi database driver?  If you are using the BDE, that might be your problem.  Try installing
andusing the ZeosLib toolkit. 

http://www.zeoslib.org

Merlin

pgsql-performance by date:

Previous
From: Kroh István
Date:
Subject: odbc/ado problems
Next
From: Ron St-Pierre
Date:
Subject: Table UPDATE is too slow