Solved

Prevent thrashing on ODBC connection to MS Access DB

Posted on 2004-08-12
5
205 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now