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

Re: slow odbc access....

From: "Bryan Bateman" <batemanb(at)home(dot)com>
To: "Sanjay Arora" <sk(at)pobox(dot)com>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: slow odbc access....
Date: 2000-11-28 18:10:06
Message-ID: 072801c05966$703f0b50$c6290218@workhorse (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
VB6 uses the "jet" interface.  I had some similar problems not long ago with
Oracle.  They almost scrapped the project until we learned how to tune the
jet engine for the application.

If you use Access and link the table, they run the query from there are you
getting the same problems?

There are some registry hacks for jet that may help.  What MS OS are you on?
Is the ODBC manager up to date?  If you are on NT 4.0 what service pack
level are you on?

How large is the result from the query?

has a lot of resources to troubleshoot ODBC problems.

Start the postmaster up with with tracing and also turn tracing on in the
ODBC manager.  Compare and contrast these files after the query to see if
anything funky shows up.  Trace logs can be your good friends when it comes
to ODBC.

For the record I am running ODBC Manager 3.520.5303.2 and the Insight
Distribution Systems driver 6.50 for Postgresql on a Win2k machine.

----- Original Message -----
From: "Sanjay Arora" <sk(at)pobox(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Sent: Tuesday, November 28, 2000 11:33 PM
Subject: [INTERFACES] slow odbc access....

> I am using postgreSQL v. 7.0.2 on RH Linux 6.2 on the server with VB6
> Application accessing the DB through postgrSQL ODBC driver v. 6.50 on a 10
> mbps ethernet network using four eight port cascaded hubs. PG is
> with BLCKSZ 32 kb.
> Thanks to all of you I seem to be making some progress in porting my app
> pg backend. I am facing a peculiar problem.
> SQL queries through the odbc are extremely slow. Its so noticable that you
> do not even need to bechmark the query execution time. I used simple
> query using joins etc. Same query on psql through telnet was
> noticably faster. At first I thought it was a Network problem and tested
> the query at night with only the server & workstation switched on at
> Problem was not resolved so I ruled out NW issues.
> Another thing that is peculiar is that while the query is being executed
> that the HDD light on the WinNT client machine goes bonkers. It seems that
> the ODBC driver is caching something on the local hdd. I do have the odbc
> log on but the hdd activity seems to be too intensive for that. Does ODBC
> cache recordsets to local hdds or something like that or is poor
> me being unfair to poor odbc logs? ;-))
> Are there any other ODBC drivers on Win32 for PG that I can try? Any other
> issues that I should study?
> BTW, when would the PG 7.1 be coming?
> Once again, I would like to extend my thanks to all who helped me.
> With regards.
> Sanjay.

In response to


pgsql-interfaces by date

Next:From: Sanjay AroraDate: 2000-11-28 23:33:44
Subject: slow odbc access....
Previous:From: DaveDate: 2000-11-28 17:31:42
Subject: Re: How to setup JDBC driver for DreamWeaver ultrade v?

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