12 replies
by bob sellman
I have many Access applications running over networks with front end (application) databases with tables linked to a back end "data" database.
Although you don't mention the speed of the network connection, running through a network will always be slower than if you had both databases on the workstation. Access transfers all data (for a data request) to the workstation, where the data is then selected and sorted, rather than the selection (SQL processes) being performed at the server and sent to the workstation.
You might try a few things, however, to help performance.
1. Review what columns are indexed and add indexes appropriate to the sorting and multi-table queries used for your reports. Indexes to help queries run faster can be a real help. Queries should be in your application database.
2. If you are doing any temporary processing into "report calculation" tables to prepare reports, locate those in your local application database, rather than your data database. This also will help reduce the need to compact the data database as frequently, although it will then be necessary to compact the application database periodically.
3. Be sure to compact the data database at appropriate intervals (depends upon the use of the database). Nothing slows things down more than lots of wasted space for deleted records.
4. Get the network connection optimized for speed. I still have applications running slower after some newer PCs are installed, apparently due to some workstation software problem.
Good luck.
by swild
by swild
by alias_ales
I've had a similar problem and we have a fast server and LAN. I've found that if I want to edit forms and especially VB code, I need to copy the mdb to my machine first. Without boring you to death with all of my problems my fix was to move the database to the Intranet server. Without too much work (or time) you can connect Access to IIS. You'll never have to update your users front end again and you'll be pleased with the performance.
We have a mixture of new and old machines; older machines some having been upgraded from Office 97. My machine has all of the latest service pack and libraries great for developing new VB apps but I got burned when I found I needed to update all Access users with MDAC 2.5. Too many headaches with form problems and slow speed led me to try moving to a web server. I'm glad I did.
by swild
by irisolutions
by swild
by delamarel
by swild
by knowlimits
We have had the same problems that you have described. Using Access on the network slowed down to a crawl when more than two people accessed the program. Unfortunately, Access is not a network friendly application. It works well on the client side but it needs a database server to work over the network. Regardless of where the mdb file is the Access program is located on the client machine, and is not run by the server. Every query, every keystroke, every time a record is changed, the mdb file gets recreated and replicated in a tmp file on you machine and then uploaded to the shared drive. Access is NOT a database server Client/Server app.
We were out of luck with our particular database, since there is no other like it that we can use for our needs, and I am not a programer. We have a very fast switched 100/1000 network, and still had problems.
We solved the problem by installing Windows 2000 server as a terminal server and connected the users (16 and 32 bit clients) to the server with the built-in client software that 2000 provides. Now access only runs in one area, the server, not on the network.
The IIS option works as mentioned in a previous post.
The only other option is to convert the server side mdb file to an client/server SQL solution. SQL 7 is a good option for access clients.
by swild
by swild
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending