Solved

splitting access database then rejoining it shrinks database size

Posted on 2013-01-14
4
249 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 166 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 167 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 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 167 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

696 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