vb access 97 suddenly very slow over network

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
pkinausAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
moduloConnect With a Mentor Commented:
PAQed with points refunded (500)

modulo
Community Support Moderator
0
 
mladenoviczCommented:
Try to Compact database
0
 
mladenoviczCommented:
Tools -> Database Utilities -> Compact And Repair Database
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

 
pkinausAuthor Commented:
Have already tried to Compact the database.
0
 
kellysysCommented:
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
 
pkinausAuthor Commented:
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
 
kellysysCommented:
And all that advise for no points !!
Glad you found the problem. Antivirus can be a nightmare sometimes.
0
 
DabasCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.