Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

vb access 97 suddenly very slow over network

Posted on 2004-09-27
10
Medium Priority
?
393 Views
Last Modified: 2013-12-25
gday,

I have a little application written in VB6 with an access 97 backend. The application is run from a drive shared  on a windows 2000 server. There are about 10 desktops all running xp. Both the server and the desktops have the latest sp's.

A couple of days ago the application started to run very slowly. I have made no changes to it for months. I can browse files on the server from a desktop without any problems, accessing word and excel files stored on the server seems to work fine. When I run the application from a local drive it runs fine.

Opening the access database itself seems to be very slow too. The database is not too big, only about 80mb.  I'm not really a network person have run out of ideas. Any help would be greatly appreciated. The people who use this application are starting to become a little twitchy and when pushed too far they are capable of extreme violence.

Cheers

Paul
0
Comment
Question by:pkinaus
  • 2
  • 2
  • 2
  • +2
10 Comments
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12158374
Try to Compact database
0
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12158384
Tools -> Database Utilities -> Compact And Repair Database
0
 

Author Comment

by:pkinaus
ID: 12158396
Have already tried to Compact the database.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Expert Comment

by:kellysys
ID: 12159826
Your server is just providing a file sharing role. 10 users accessing a 80MB database file over the network can expose lots of issues.

Hope there is no issue with free space / fragmentation on the server.

What else could cause this?

(1) Lots of new records inserted into the database
this could affect your query optimisation, and as at (4) below, since all the data is transmitted over the network this could be become very apparent quite suddenly. It is possible that a query will not be optimised as previously. The database being quicker locally would be quite normal. But this would be especially true if the queries were not properly optimised by having the right indexes.

(2) So check the indexes and make sure that they are right for your queries.

(3) Indexes have been corrupted
I have seen ms access databases lose indexes. You could try to create a new database and then import all the objects from the old database. This can both solve and expose issues in the original database.

(4) Faulty network
All data in queries is transmitted over the network. MS Access databases used like this will expose network problems more than other types of file sharing - like opening a spreadsheet or a document

(5) In some cases I found having a local database with linked tables to the server database helped with performance.

All these are issues I have personally seen that can cause your type of problem.

Hope they are of assistance.
0
 

Author Comment

by:pkinaus
ID: 12166222
Thanks for the suggestions kellysys,

It turned out to be the anivirus software we are (were) using. We have been running it for a while with no problems, but for some reason it starting to take a dislike to our application. I removed it and the speed went back up to normal again.

Cheers for your post though, I'm sure your suggestions will be of help some time in the future.
0
 

Expert Comment

by:kellysys
ID: 12167823
And all that advise for no points !!
Glad you found the problem. Antivirus can be a nightmare sometimes.
0
 
LVL 27

Expert Comment

by:Dabas
ID: 12213618
G'day pkinaus mate!
I see I am late....
I have had exactly the same issue.
Rather than remove the AntiVirus software, check its settings. In most of them you can remove .mdb from the list of extensions checked. .mdb extensions are considered dangerous as somebody might have written harmful code within them.
Since I only use the .mdb files from VB and not from Access itself, and never use .mdb files written by others, it is quite safe to remove from the AV list.

Dabas
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12996084
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

916 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