Solved

Prevent thrashing on ODBC connection to MS Access DB

Posted on 2004-08-12
5
218 Views
Last Modified: 2008-03-06
I have an application I developed that is deployed in dozens of customer sites.  The application is designed to be "SQL '92" compliant and uses ODBC connection (at MDAC RTM V2.5 or later) to either SQL Server or to a Microsoft Access database file (using the ODBC Jet DB engine).  The application is written in MS VB 6 and uses both RDO and ADO.

When connected to an MS Access database through the ODBC driver and on a network (MS TCP/IP protocol), there is excessive "thrashing" over the network even when the application is idle.  I maintain a common connection object - leaving it connected in the best interest of performance - avoiding a re-connect for new transactions.

Is there a way to prevent the thrashing without a disconnect ?
0
Comment
Question by:GuruWilly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 11790161
umm..ya..use sql server ;)

access/jet is oh so chatty and even when not a lots going on it has a lot to say...not sure there's a whole lot you can do...
0
 

Author Comment

by:GuruWilly
ID: 11790211
Reply to SidFishes from GuruWIlly:
Thanks for taking the time to comment, but it is not the answer I was hoping for.  Perhaps I am just out of luck and need to build in a disconect/reconnect control.  Problem is there are dozens of SELECT, UPDATE and INSERT Queries in various module, so I would have to sprinkle the new code "liberally".
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 11790229
well...keep the q open...there are some good people here and they may have more ideas...
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question