473,399 Members | 3,401 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,399 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 2541
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.