Received: from mail.rdc1.md.home.com (ha1.rdc1.md.home.com [24.2.2.66]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eAT0dit89501 for ; Tue, 28 Nov 2000 19:39:44 -0500 (EST) (envelope-from byron.nikolaidis@home.com) Received: from byron ([24.4.141.52]) by mail.rdc1.md.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20001129003903.GRYS10139.mail.rdc1.md.home.com@byron>; Tue, 28 Nov 2000 16:39:03 -0800 Message-ID: <001801c0599c$6d485100$6401a8c0@byron> From: "Byron Nikolaidis" To: , "Sanjay Arora" References: <200011281759.XAA08973@tcs.com> Subject: Re: slow odbc access.... Date: Tue, 28 Nov 2000 19:36:34 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200011/283 X-Sequence-Number: 320 I have seen really really slow access AND the hard drive light on constantly when the odbc trace log is on. This has always been the case. I think MS 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 To: 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 10 > 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 you > do not even need to bechmark the query execution time. I used simple select > query using where....no 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 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 suspicious > 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. >