Solved

How do I make a access database smaller?

Posted on 2006-07-03
7
891 Views
Last Modified: 2012-05-05
I have an access database that started out at like 50mb and now its about 850mb and when I delete some thing out of the tables it doesn't reduce in size. Any suggestions?
0
Comment
Question by:Herb Vasquez
[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
7 Comments
 
LVL 5

Expert Comment

by:MageDribble
ID: 17030873
Compact the database.  It's under the tools menu
0
 
LVL 5

Expert Comment

by:MageDribble
ID: 17030878
Tools...Database Utilities...Compact and Repair

What happens is Access will "bloat" when tables are created but won't release that memory after the table has been deleted.  You need to compact and repair to release that memory.
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 125 total points
ID: 17030881
In addition to compacting, decompiling also helps. I tend to use this, though always backup first!

Straight after a decompile, a compact/repair is done (I usually do this twice)

http://www.granite.ab.ca/access/decompile.htm
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 5

Expert Comment

by:MageDribble
ID: 17030905
I believe decompile only works well on older versions of Access.  I may be wrong about that though.  

rockiroads, do you know if decompile should be used on newer versions of Access?  I may need to add that feature to my software then :)
0
 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 17030915
You need to do a compact  and repair on a regular basis.  The easiest way to do that is to go to the command menu, select tools>options>general tab>compact on close. Then click ok.
0
 
LVL 2

Author Comment

by:Herb Vasquez
ID: 17030920
THanks
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17030941
MageDribble, Ive been using decompile on Access2003 (but DB's saved in Access2000) format and so far Ive not had a problem.
But as with decompile, its always safe to make a backup

0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
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 …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

691 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