473,385 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Compact and repair

I have deleted a lot of imformation from a database that has gotten
large. After deleting the data, I did a compact and repair thinking
it would reduce the size of the database. It doesn't change the size
at all. Any help would be appreciated.
Jun 27 '08 #1
3 2540
Could it be that you're compacting the front end of a split database, which
doesn't compact the back end?

Chris
Microsoft MVP
tr******@hotmail.com wrote:
>I have deleted a lot of imformation from a database that has gotten
large. After deleting the data, I did a compact and repair thinking
it would reduce the size of the database. It doesn't change the size
at all. Any help would be appreciated.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200805/1

Jun 27 '08 #2
I haven't split any databases. I didn't have any problems before when
I used XP with Access 2003. Now I have Vista with Access 2007 SP1.

On May 20, 10:28*am, "Chris O'C via AccessMonster.com" <u29189@uwe>
wrote:
Could it be that you're compacting the front end of a split database, which
doesn't compact the back end?

Chris
Microsoft MVP

troy_...@hotmail.com wrote:
I have deleted a lot of imformation from a database that has gotten
large. *After deleting the data, I did a compact and repair thinking
it would reduce the size of the database. *It doesn't change the size
at all. *Any help would be appreciated.

--
Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/2008...
Jun 27 '08 #3
How much is "a lot of information"? I expect that you mean many MB of data
but I have to ask, is it less than 4 KB? Each data page holds 4 KB, but if
it's only partially filled with data, the whole 4 KB of disk space is
allotted to the file and a compact won't diminish the file size.

If it's many MB of data you've deleted, you may need to use the /decompile
switch to open the db, then compile and compact. Actually, that would work
on earlier versions of Access when the db is bloated. I'm not sure if the
/decompile switch works with Access 2007, or if it even works on accdb files.
Try the /decompile switch on a copy of your db.

Example to put in a Windows shortcut's target (all one line):

"C:\Program Files\Microsoft Office\OFFICE12\Msaccess.exe" "C:\db.mdb"
/decompile

Chris
Microsoft MVP
tr******@hotmail.com wrote:
>I haven't split any databases. I didn't have any problems before when
I used XP with Access 2003. Now I have Vista with Access 2007 SP1.
>Could it be that you're compacting the front end of a split database, which
doesn't compact the back end?
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200805/1

Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: KEVIN97810 | last post by:
Hello to all, Assume my mdb name is Cust.MDB. I want to compact & repair the same Cust.MDB when the user exit the program. Is there a way you can do it in code behind the EXIT button. I am...
3
by: Paolo | last post by:
Hi, I am trying to compact and repair my database, however every time I try it comes up a message saying: Table: "TempMSysAccessObject already exists", whenever I try to look for this table I...
4
by: Ken Winters | last post by:
Whenever I run the Repair/Compact on my database, the security settings on the file change. A 3rd party application can only access the database over the network when the username "Everyone" is...
4
by: Wayne | last post by:
Does "Compact On Close" do a "Compact and Repair" or just a compact. Is a compact necessary (or at least a good idea) on a regular basis, say weekly, for a database that has several hundred records...
6
by: GaryDave | last post by:
My school registration database has not been quite right after a recent compact and repair (done while I was away). Though most of the many forms and subforms are working normally, one form in...
2
by: ApexData | last post by:
Hello I have finally completed an application and am preparing to install it on a network of 10 users. The application will be split FE/BE. The application has its own login, which controls...
2
by: Ron | last post by:
Hi All, Using WinXP pro/Access 2000. I have a database that's been used for about 5 months. Transferred lots of data from a dos based program, then the users have been using it for that 5...
9
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
3
by: Bizmark | last post by:
Access2003, Windows XP Pro OEM user OS, Windows Sever 2000 server OS. Not-so-recently I inherited 3 Access DB's from another company merging with our own. Our own system works off of SQL...
4
by: zufie | last post by:
When I Repair/Compact my Access databse. I get icons/copies of a database named db1.mdb, db2.mdb, db3.mdb, etc... How else may I repair this database? Thanks!, Zuf
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.