Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compact/Repair Who What When?

Status
Not open for further replies.
Joined
Aug 2, 2000
Messages
325
Location
US
I was wondering what is really happening when you run these. How often should you run them ?
Which Order should you run them?

Just courious.

Dave
 
So are they something like a defrag?
P.S. great qoute!
 
Yes... sonmething like defrag. Like a disk becomes fragmented as files are added and deleted, an MDB develops a form of fragmentation each time an object is deleted and ofen when objects or data are updated. When MSAccess cannot replace an object back on the same page it was on originally, it creates a new page and writes the object or data there. The old pages are marked as deleted. Compacting removes the deleted spaces when Access rewrites the database to another file.

Repair also rewrites the data. It attempts to correct any problems found in the database structure.

In Access 2000, there is only one choice, Compact and Repair. Terry

The reason why worry kills more people than work is that more people worry than work. - Robert Frost
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top