Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Prevent thrashing on ODBC connection to MS Access DB

Posted on 2004-08-12
5
Medium Priority
?
220 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

688 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