Solved

MS Access - Compact & Repair

Posted on 2013-06-13
3
651 Views
Last Modified: 2013-06-14
I have a database where all the tables are linked to another database. In addition to the linked tables, the database includes reports, queries, macros and a module.

Does a database with only linked tables require routine maintenance (compact/repair)?
0
Comment
Question by:Tim313
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Expert Comment

by:Norm Dickinson
ID: 39244461
The compact/repair process is used for tables that contain data, and is especially helpful on tables which contain deleted data or are used for temporary storage of data such as a transaction table. The larger the amount of deleted data, the more often it should be run. It is not necessary on databases which operate correctly and contain little or no data or only static data.
0
 
LVL 20

Accepted Solution

by:
clarkscott earned 500 total points
ID: 39247621
Actually, an Access "front-end" with no data can still grow in size.  Especially if you have coded sql statements dynmaically created and run.
Access creates under-the-cover things, such as query execution plans, and such.... which can add bytes to your application over time.
You can solve this by going to the applications properties and set "compact on close".

Scott C
0
 

Author Closing Comment

by:Tim313
ID: 39248871
Thank you both for your replies.

I do a weekly compact/repair on the BE, but not on the FE. I have noticed that over time the FE was increasing in size, hence the question. I had thought that without data there was no need, but could not figure out why the increase in size.  I'm using a VB2010 application (running on both computers) that does have sql statements dynamically created and run. I'll add the code I have for routine compact/repair on the BE application to the FE application.

Thanks again!
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question