Showing posts with label Compact. Show all posts
Showing posts with label Compact. Show all posts

The Power and Limitations of the Compact and Repair Utility of Microsoft Access


Image : http://www.flickr.com


If you find that your Access database has become very large in size, you might believe that removing unwanted records would clear some space for you. However, this does not always work since frequent creation and deletion of records leads to fragmentation of the database. The Compact utility of Microsoft Access is the best tool for actually getting rid of empty space in an existing database. However, it also has certain limitations, as we will see in the following article.

The Compact and Repair utility provided by Microsoft Access is a wonderful tool that helps in quickly resolving any minor damage caused to an MDB file. If you suspect that a database you are working with is suffering from corruption or if the file is completely inaccessible, you should run the Compact and Repair utility immediately. The Repair utility is very effective when it comes to repairing the tables, queries and indexes in the corrupt database. However, this utility does not attempt to repair interface objects such as forms or reports. In fact, it might not even be able to recover all the data from a severely damaged database - for a full Access recovery, you might have to employ a more powerful tool such as Advanced Access Repair.

On the other hand, the Compact utility primarily gets rid of the unnecessary empty space that is created in an existing database. When records are created and deleted on a regular basis, there is de-fragmentation that results in a lot of empty space lying around unused. The Compact utility creates a new destination database and then carefully copies each object from the old database into the new one, ensuring that all the space is properly made use and that there is no de-fragmentation. This improves the performance of the database and also reduces the risk of any damage to the file due to large de-fragmentation that might require you to take steps for Access recovery.

The Compact utility also performs the following actions -
While creating the new database, it reorganizes the pages of the table so that they now reside in database pages that are next to each other. Since the tables are no longer fragmented, this dramatically improves the performance of the Access database.

As mentioned earlier, when records or even interface objects are created and deleted, the empty space that is created is simply marked as being available for new records or objects. The space is never actually freed up and as such the size of the database never shrinks due to deletion of records or objects. To truly free up the space, you need to carry out the Compaction process. In fact, the more often you add, delete or update records and objects, the more often you have to carry out the Compaction process.

There are however, some limitations to the Compact and Repair utility. Before you run this tool, you have to make sure that there is enough space on the disk for both the original database and the compacted version. Users have to be prevented from accessing and modifying the database when this utility is being run. Further, the Compact and Repair utility is not able to repair severe damage caused to the Access database that may occur typically due to hardware failures.

A full Access recovery can be carried out by using Advanced Access Repair. This tool can recover almost all the data from the damaged database, across many versions of Access, including deleted tables and records.

Information about the product can be collected at http://www.repair-access.com/.

Hot Game !!! Game (FR)

Using Compact and Repair Utility to Perform Access File Recovery

A lot of things can take place in your Access database that might make the database inaccessible, damaged or corrupt. As a result of corruption, the corrupt database might seem to be disappearing or might delete certain records, make your records become inaccessible etc. Microsoft offers a free utility to ensure you lose your Access data. The utility is Compact and Repair Utility for MS Access. Compact and Repair Utility is a useful executable used to repair MS Access database files. Before we get into the working of the software, let's look at some of the reasons that result to MDB corruption:

Interrupted (broken) write operation

Faulty hardware components

Accessing or saving MDB file in another program

Points to ponder before you use Compact and Repair utility

Here are some things that you must keep in mind before you use Compact and Repair utility for your corrupt or inaccessible MDB database:

Ensure of enough free memory in your hard disk for storing the original and the compacted versions of the Access Database. Hence, you must have at least 2 times the size of your Access database on your hard disk.

Ensure that you have Open/Run and Open Exclusive permissions for the Access Database. If you are the author of the database, make sure that you have set the permissions.

Make sure no other user can open your Access database
Ensure that your Access database is not located on Network Share (read-only) or is set to have its attribute set to Read-only

Using Compact and Repair utility

While you use the Compact and Repair utility, the utility will compact the unused space in the database that was created by deletions of object and record. The utility creates a new database at the different location and copies all objects from the old database to the new database.

As far as repairing the database is concerned, Compact and Repair utility repairs only the tables, queries and the indexes in the database. It will not try to repair damaged forms, reports, macros or modules.

Although, Microsoft offers a free utility to repair the corrupt MDB database, but just like it's any other repair utility, this one (Compact and Repair utility) doesn't works up to the mark. As a result of this, you need to rely on some third party Access file recovery software that can help you recover your data from your corrupt MDB database file.

Use Access recovery software that is devised specially to repair and recover data from MDB database files. mdb recovery software is able to recover data from password protected MDB files. In addition to this Access file recovery tool can recover table structure, data, memo data, OLE data, and original date format and table relationships. It can efficiently restore key data structures like autonumber, primary key, field size etc. The tool is available as free evaluation version too, so you can check the working and features of this Access file recovery tool and ensure accurate results for the same.

Hot Game !!!