473,472 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Compact and repair - 2003 vs 2007

157 New Member
Hello!

In Access 2003 this function worked fine, and compressed my databases nicely. But in Access 2007 with .accdb databases it just keeps growing and growing for eternity, or at least until i import all object to a new .accdb file.

Anybody have any idea on this?

We use Office 2007 SP1 without any other updates
Feb 3 '09 #1
11 5286
MrDeej
157 New Member
Ok, i found the solution myself.

I need to copy the .accdb from the network disk to a local disk. Then compress and repair, then copy back.

Then the compressing works. Stupid bug by M$, anybody now of a workaround to this i will be glad know of it :=)
Feb 3 '09 #2
ChipR
1,287 Recognized Expert Top Contributor
Before I moved to 2007 I had some problems with a picture that just kept increasing the size of the db. I was pretty sure they fixed that though.

What kind of size are you talking about? For some perspective, my 50 queries, 100 forms, and 20 reports are around 170MB even though I have it on Compact on Close. No pictures though.

The Office Button -> Manage -> Back Up Database actually creates a <5MB file which it seems I can use just like the original, but it slowly grows as I use the forms, etc.
Feb 3 '09 #3
ChipR
1,287 Recognized Expert Top Contributor
You are absolutely right. Mine was on a network drive and wasn't actually compacting either, though it had a progress bar as if it were. I copied it to the local disk and it did work.
Feb 3 '09 #4
MrDeej
157 New Member
I have a database with
13 local tables
43 linked tables
32 forms
17 reports
10 modules

Before compressing: 55mb
After compressing: 6mb
Feb 3 '09 #5
ChipR
1,287 Recognized Expert Top Contributor
That doesn't seems out of control. Is it really continuously growing or is it stable at 55MB?
Feb 3 '09 #6
MrDeej
157 New Member
The growth from around 6 to 55 happend in 3 days :=)

But in my code i use a lot of creating temptables for manipulating and showing data in the form i want the data to be shown. This i know make the database grow intensly, and thats why it is superannoying that M$ havent made a fix for this bug.

Sometimes querys dosent do it for my and i have to make temptables.
Feb 3 '09 #7
MrDeej
157 New Member
This still is a problem, anyone know of a solution to this?
Jul 24 '09 #8
ChipR
1,287 Recognized Expert Top Contributor
Try working with recordsets instead of temporary tables.
Jul 24 '09 #9
MrDeej
157 New Member
@ChipR
I have done that. I now use listbox.addnew (or something, cant remeber now) instead of temporary tables. And all the previous local tables are now SQL

Still it has grown from 17mb til 177mb in 4 days and i have to move it to local drive to be able to compact it. I have several places a picture which loads a 2-3mb jpeg file from our product catalog (800 products). I also have some extremely complicated queries, some of them are so complicated that ADO fails when reading them and i have to use DAO

So the issue with compressing on network drive is still a big pain in the arse:)
Jul 24 '09 #10
ChipR
1,287 Recognized Expert Top Contributor
DId you try using it for a while with no pictures? I had major issues with a logo I had on my main menu. The size of the db just kept increasing until I gave up and removed the picture. At least it might help you to narrow down the problem.
Jul 24 '09 #11
MrDeej
157 New Member
No i havent tried that. The pictures are part of our quality control and are used constantly by atleast 10 employes maybe 20 times each pr day.

But i rather should find a way to make the compress thing work rather than removing functionality. I know that the growing issue got bigger the more pictures i programmed it to pick up so it is partly because of that, but it grew anyways. I would love to could use the "compress on exit" feature, but it does not work when the .accdb is on a network drive.
Jul 24 '09 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

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: 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...
2
by: Mark G. King | last post by:
I have Access 2003 SP2. When I open any database annd choose Tools / Database Utilities the menu item Compact And Repair is missing. I have re-installed Office 2003 using Detect and Repair but...
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...
6
by: Roger | last post by:
if I make a copy of northwind.mdb sample and import data till it reaches 350Gb in size and then I make a second copy of northwind then I open nw1.mdb and do a compact / repair that takes 30-60...
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
3
by: troy_s11 | last post by:
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...
5
by: teddysnips | last post by:
My client has asked if it's possible to Compact and Repair his Front End database programmatically. I remember doing this from a VB application about 10 years ago, so I wondered if it was possible...
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
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
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,...
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...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.