Solved

Prevent thrashing on ODBC connection to MS Access DB

Posted on 2004-08-12
5
202 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
Comment Utility
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
Comment Utility
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
Comment Utility
well...keep the q open...there are some good people here and they may have more ideas...
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

763 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

8 Experts available now in Live!

Get 1:1 Help Now