|
Automatically Compact and Repair DatabasesProvided by: Molly Pell, Technical Project ManagerMicrosoft Access/Jet databases require routine maintenance to ensure reliability, integrity, and efficiency. Compacting and repairing an Access/Jet database does the following:
If you are diligent enough to remember this maintenance task, you can manually compact and repair a database by opening it in Microsoft Access, and selecting the Tools | Database Utilities | Compact and Repair Database menu item. However you can save yourself some time and effort by configuring your database to compact and repair itself every time you close the database:
Further Automating MaintenanceTurning on “Compact on Close” certainly helps ensure that these important maintenance tasks are performed regularly, but there are certain drawbacks:
You can increase the ease and reliability of database maintenance by
implementing an automated maintenance schedule using a product such as
Total Visual Agent from FMS. Using Total Visual Agent, you can schedule
maintenance tasks such as compacting and repairing to run after hours
when the task will not interfere with your work, and users are less
likely to have the database open. |