Tuesday, February 12, 2008

5 Tips to Prevent Access Database Corruption

It is very important to know that any time when an Access client disconnects unpredictably, it may set a “corruption flag” in .mdb files indicating that the database is in the corrupt state. In this case, if you want to open the database, you need to repair it. It can result in loss of productivity and extreme frustration for the user. Mentioned are the 5 tips that will minimize your likelihood of data loss from corruption in .mdb files:

Split your database
The first and most important thing you can do to prevent corruption in Access Database is to divide your database in “back-end” and “front-end”. The back end contains the data tables and while the front end contains all the queries, forms, and reports. A copy of front end is placed in every user’s computer and the back end is stored on the network in a shared folder.

Never hold the connections open
If you are using the Access Database, be sure to close all the database files as soon as your work is finished. Leaving the database open gives the opportunity for corruption if any network connection is lost.

Exit the database properly
Always close the application or database properly. End Task or Ctrl + Alt+ Del can wreak havoc to .mdb files. Whenever possible, after completing your tasks, close the database using Exit option in File Menu or alternative exit option given by the application.

Don’t skimp upon hardware
Keep in mind that the corruption flag may set from the least packet loss between you database file and the computer. Access has sometimes been called “the canary in the coal mine”. It has gained this name from being the first software to “fail” when there is the smallest hint of trouble on the network. Always use branded Network Interface Cards instead to using cheap cards that comes inbuilt in some PCs.

Compact and repair regularly
Executing the built-in compact and repair tool regularly is suggested to prevent the database corruption and improve system performance. Consider automating of this tool with a utility to compact and repair the entire database nightly or during weekend.
By following these tips, you can prevent your database corruption in most of the cases, but there is no guarantee that you will be able to prevent your database from corruption always. It is possible that you may face the database corruption and the situation of inaccessible database. In these cases, to access your database, you need to repair your database. You can repair your database with the help of Access Recovery software.

Access Recovery software are the software utilities that can help you in repairing your corrupted Access Database and can make them accessible. Access Repair software use advanced searching algorithms to search the corrupted .mdb files and help you to repair them. After repairing, you can save them to their original location or your specified location.