?
Solved

splitting access database then rejoining it shrinks database size

Posted on 2013-01-14
4
Medium Priority
?
267 Views
Last Modified: 2013-01-15
hey guys, i've got an access database and it's 30MB after compacting and repairing.

so i split it and i get BE 17MB and front end 2MB (both FE and BE compacted and repaired)

1) how come it shrinks?

then i delete all the linked tables in the FE and then import the tables from the BE. i get 19 MB after compacting and repairing

2) how come it's still 19MB whereas the original database is 30MB after compacting and repairing? seems like splitting is necessary to positively shrink the database.

3) if i just delete all the linked tables from the FE and import all the tables from the BE, is that the right way of merging my FE and BE again? by using this simplistic way did i miss out anything? thanks guys!!

edit: sorry guys dumb question, after some searching, i realised there was missing data which contributed to the database shrinking. but could yall help me answer question 3? what's the right way of merging a split database? thanks!
0
Comment
Question by:developingprogrammer
[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
4 Comments
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 664 total points
ID: 38777173
3). Yes - pretty much the way you would 'merging'.

However, note that ... almost all professional Access databases employ the split configuration - for a multitude of good reasons.

mx
0
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 668 total points
ID: 38777671
<<
almost all professional Access databases employ the split configuration - for a multitude of good reasons.
>>

Agree with MX about that.  

There is no reason to re-combine your database, and a multitude of good reasons to keep it split - even if it is just going to reside on a single system.

Simply copy your back-end to a folder on your local machine and use the linked table manager to point to the file that you have copied locally.
0
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 668 total points
ID: 38777782
<<1) how come it shrinks?>>

 There are a number of things that don't get exported/imported to another DB.  One is compiled VBA code.  Another is query execution plans.   These things won't be created until you use the DB, so at first it will appear smaller, but very quickly it will balloon up to the size you had before.

 Records in tables are also re-organized and you might get a slightly better fill factor on data pages as a result of that.
 

 and ditto on splitting.  Unless it's a single user situation.  Even then however, I would always split as often it turns into a multi-user situation at some point.

Jim.
0
 

Author Closing Comment

by:developingprogrammer
ID: 38778904
fantastic guys, thanks for your help!!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
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.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

770 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