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

Re: slow odbc access....

From: "Neil P Davis" <npdavis(at)hotmail(dot)com>
To: "Byron Nikolaidis" <byron(dot)nikolaidis(at)home(dot)com>, <pgsql-interfaces(at)postgresql(dot)org>, "Sanjay Arora" <sk(at)pobox(dot)com>
Subject: Re: slow odbc access....
Date: 2000-11-29 15:50:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
It has been my experience (and this is documented in MSDN) that ODBC Tracing
will KILL your performance! Turn that off and try it again. It is for
debugging only...

----- Original Message -----
From: "Byron Nikolaidis" <byron(dot)nikolaidis(at)home(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>; "Sanjay Arora" <sk(at)pobox(dot)com>
Sent: Tuesday, November 28, 2000 7:36 PM
Subject: Re: [INTERFACES] slow odbc access....

> I have seen really really slow access AND the hard drive light on
> when the odbc trace log is on.   This has always been the case.   I think
> goes out of there way to make sure everything gets logged so it goes right
> to disk for each odbc call, with no buffering.
> Byron
> ----- Original Message -----
> From: Sanjay Arora <sk(at)pobox(dot)com>
> To: <pgsql-interfaces(at)postgresql(dot)org>
> Sent: Tuesday, November 28, 2000 6: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
> > mbps ethernet network using four eight port cascaded hubs. PG is
> recompiled
> > with BLCKSZ 32 kb.
> >
> > Thanks to all of you I seem to be making some progress in porting my app
> to
> > pg backend. I am facing a peculiar problem.
> >
> > SQL queries through the odbc are extremely slow. Its so noticable that
> > do not even need to bechmark the query execution time. I used simple
> select
> > 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
> night.
> > 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
> > the ODBC driver is caching something on the local hdd. I do have the
> > log on but the hdd activity seems to be too intensive for that. Does
> > cache recordsets to local hdds or something like that or is poor
> suspicious
> > me being unfair to poor odbc logs? ;-))
> >
> > Are there any other ODBC drivers on Win32 for PG that I can try? Any
> > 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: Tim UckunDate: 2000-11-29 19:00:56
Subject: RE: postgreSQL and javascript
Previous:From: Francis SolomonDate: 2000-11-29 13:04:51
Subject: RE: slow odbc access....

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