473,473 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Database bloat in shared A2007 DB

I have a shared Access mdb that was originally written in A2000. The
database is large, around 40 tables, 40 forms (many with multiple
sub-forms), and 100s of reports. The database is not split, but runs off of
the LAN in the office with about 5 or 6 concurrent users. Recently the
office upgraded to A2007 but they are continuing to run in compatability
mode.

The problem is that with ordinary use, read/write operations through the
user forms only, the database quickly bloats from about 60Mb to over 200Mb.
There are no import/export actions, no make-table queries, nothing like that
in ordinary use. Compacting and Repairing the mdb from A2007 doesn't shrink
the mdb appreciably in size, but if I open the file with A2003 and compact
and repair it shrinks back down to 60Mb again.

The only wrinkle I can throw into the mix is that one of the users is using
Vista while the rest of the users are on XPpro. I tried to lock the Vista
user out of the db for a day to see if that affected the problem, and the
results are mixed. In the following 2 hours I didn't see the db grow much
in size, although it did grow from 60Mb to about 70Mb. In the next 2 hours,
when I wasn't watching to make sure no one accessed the db from the Vista
machine it grew to over 200Mb again.

Anyone have any ideas?
Apr 3 '08 #1
6 2129
"Randy Shore" <vt******************@roadrunner.comwrote in
news:47***********************@roadrunner.com:
I have a shared Access mdb that was originally written in A2000. The
database is large, around 40 tables, 40 forms (many with multiple
sub-forms), and 100s of reports. The database is not split, but runs
off of the LAN in the office with about 5 or 6 concurrent users.
Recently the office upgraded to A2007 but they are continuing to run
in compatability mode.

The problem is that with ordinary use, read/write operations through
the user forms only, the database quickly bloats from about 60Mb to
over 200Mb. There are no import/export actions, no make-table queries,
nothing like that in ordinary use. Compacting and Repairing the mdb
from A2007 doesn't shrink the mdb appreciably in size, but if I open
the file with A2003 and compact and repair it shrinks back down to
60Mb again.

The only wrinkle I can throw into the mix is that one of the users is
using Vista while the rest of the users are on XPpro. I tried to lock
the Vista user out of the db for a day to see if that affected the
problem, and the results are mixed. In the following 2 hours I didn't
see the db grow much in size, although it did grow from 60Mb to about
70Mb. In the next 2 hours, when I wasn't watching to make sure no one
accessed the db from the Vista machine it grew to over 200Mb again.

Anyone have any ideas?
Why not get someone qualified and capable to create a new, efficient
database?
Apr 3 '08 #2
I've been reading your posts since 96 or 97, and I have always considered
you to be a helpful and respected member of this group. That's why I was
taken aback at the unresponsive way in which you answered my post.

You've worked with enough clients in your career to know they don't always
act on your suggestions. That being said, do you really think this bloat
problem in A2007 is directly related to that?

Don't you think it curious that compacting it in A2007 does nothing to
reduce the file size, but compacting it in A2003 does? I'm trying to figure
out what is happening (or not happening) in A2007 that causes the file to
bloat so rapidly when the same never happened when their office was A2003.
Could Vista be the random factor here?

I've talked with them about upgrading to SQL (which I honestly think they
require at this point), but they are unwilling or unable to bear the expense
of what would be a major conversion.

Friends? Please don't take me off of your Christmas card list over this.
"lyle fairfield" <ly******@yah00.cawrote in message
news:Xn************************@216.221.81.119...
"Randy Shore" <vt******************@roadrunner.comwrote in
news:47***********************@roadrunner.com:

I think it's unlikely that a qualified, capable developer would create the
non-split database you describe, and have multiple users run multiple
instances of it from one file stored on a network server.

I think that a large database of 40 tables, 40 forms (many with multiple
sub-forms), and 100s of reports is likely to be long-in-the-tooth and in
need of a rewrite, if not a replacement. The problem of bloat may provide
the nudge needed to modernize this. For such a large db, I think some
manifestation of MS-SQL Server should be considered.

I've been posting here since ninety-six or ninety-seven. When posters have
said, "Anyone have any ideas?" I have taken them at their word.

Apr 3 '08 #3
"Randy Shore" <vt******************@roadrunner.comwrote in
news:47***********************@roadrunner.com:
Don't you think it curious that compacting it in A2007 does nothing to
reduce the file size, but compacting it in A2003 does? I'm trying to
figure out what is happening (or not happening) in A2007 that causes
the file to bloat so rapidly when the same never happened when their
office was A2003. Could Vista be the random factor here?
I posted this in December 2006. One responder reported similar. It seems
that Access 2007 has or had some compacting issues.

"Today I asked Access 2007 to compact db1.mdb.

Access 2007 showed a message to me that I did not read carefully; my
recollection is that it said it could not save the compacted copy as
db1.mdb, and would save it as (something like) database1.mdb.

Fine, I thought, I'll just rename it (back to) db1.

But I cannot find any database of that name, or any new database of any
name on my hard drive and db1.mdb is gone. It is not in the recycle
bin.
Db1.mdb did not contain anything of importance, so it's not a great
problem. I could recover it, of course, if I needed to do so. Those for
whom the practice of recovering missing files is not common might be
more inconvenienced than I.

The problem would have been disagreeable with a different db.

I cannot duplicate this situation. None the less, I shall be careful
when compacting with Access 2007, at least for a while. If a database
has something essential in it, I'll make a copy first."
Friends? Please don't take me off of your Christmas card list over
this.
I missed last year, I know and I'm sorry, but I'll send off my usual
http://www.jacquielawson.com missive as soon as you explain how to
decrypt "vt******************@roadrunner.com".
Apr 3 '08 #4
On Thu, 3 Apr 2008 10:49:37 -0700, "Randy Shore"
<vt******************@roadrunner.comwrote:

I don't know what's the problem, other than to say I have not seen it
in similar configurations. Is a 200MB database really a problem? Does
it continue to bloat until the 2GB hard limit (you gotta have nerves
of steel to try that on a monolithic db)?

-Tom.

>I have a shared Access mdb that was originally written in A2000. The
database is large, around 40 tables, 40 forms (many with multiple
sub-forms), and 100s of reports. The database is not split, but runs off of
the LAN in the office with about 5 or 6 concurrent users. Recently the
office upgraded to A2007 but they are continuing to run in compatability
mode.

The problem is that with ordinary use, read/write operations through the
user forms only, the database quickly bloats from about 60Mb to over 200Mb.
There are no import/export actions, no make-table queries, nothing like that
in ordinary use. Compacting and Repairing the mdb from A2007 doesn't shrink
the mdb appreciably in size, but if I open the file with A2003 and compact
and repair it shrinks back down to 60Mb again.

The only wrinkle I can throw into the mix is that one of the users is using
Vista while the rest of the users are on XPpro. I tried to lock the Vista
user out of the db for a day to see if that affected the problem, and the
results are mixed. In the following 2 hours I didn't see the db grow much
in size, although it did grow from 60Mb to about 70Mb. In the next 2 hours,
when I wasn't watching to make sure no one accessed the db from the Vista
machine it grew to over 200Mb again.

Anyone have any ideas?
Apr 4 '08 #5
On Fri, 04 Apr 2008 12:23:05 GMT, lyle fairfield <ly******@yah00.ca>
wrote:
>Have you considered doing a "pseudo" compact (in Access 2007) as in

http://www.ffdba.com/downloads/Save_...ts_As_Text.htm
>If this works (TTBOMK it's never been tried on anything nearly as large
as the db you describe)
FWIW, I have similar code to yours that I've used on larger databases
then the one being discussed. It works, but I don't use it a lot.

Personally, I almost never worry about bloat. Access will expand as
it needs to, and won't when it doesn't. Constantly shrinking the db
just makes the mdb fragment on the disk faster.

--
Please Post Any Replies To This Message Back To the Newsgroup.
There are "Lurkers" around who can benefit by our exchange!
Apr 5 '08 #6
Seems like you might have something there.
Always wary of different versions of access at the same time and even
more so with Vista's dodgy file system, even after service pack 1.
Why on earth does it take minutes to load a sub-directory in a file
window when it takes micro seconds in xp!
That is probably a good reason to put the backend into sql server/sql
server express to take away issues with file access in vista!
I had nightmare developing in MsAccess on my vista system, which
improved when running MsAccess 2003 in a virtual, but if the file
wasn't also in the virtual the backend datases corrupted even with
single user access!

Would recommend splitting the database first to see if that makes any
difference.

If you are importing files into temporary tables or creating temporary
data before reporting or doing something else, then put those tables
in another altogether.

It would be nice to know why, ie is the situation above with data
coming into temporary tables...

Regards,
Tom Bizannes
http://www.macroview.com.au
Microsoft SQL Server and Access Development
Sydney, Australia
Apr 6 '08 #7

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

Similar topics

2
by: Rosy Moss | last post by:
I am in the process of cleaning up a database that our company uses to track jobs, time and expense, and customer information. We are running Windows 2000 Server with approximately 20 terminals...
2
by: Karen | last post by:
As an Access novice, I have built a database that contains our company customer data, job info, and surveyor time and expense. I taught myself about tables, relationships, queries, etc., but feel...
7
by: Danny J. Lesandrini | last post by:
I know this has been discussed before, as I've seen the Google posts, but they all leave me with an unanswered question: Does my DAO code executed in the front end cause the back end to bloat?...
10
by: john_liu | last post by:
I use a MS ACCESS database with the size of 250MB. The dababase consists of 60 tables and no other objects. The objects in this database can not be changed. I wanted to reduce the size of database...
5
by: MLH | last post by:
I've read a number of posts over the years that dealt with the issue of database bloat. I'm wondering if anyone has determined exactly what information comprises the bloat when it does occur. Has...
48
by: Tony | last post by:
How much bloat does the STL produce? Is it a good design wrt code bloat? Do implementations vary much? Tony
3
by: theProfessor | last post by:
We are using a shared split database with all users currently using Access 2003. The back end is on a shared drive of a state wide WAN. Each user has a copy of the front end on their local...
1
by: Wayne | last post by:
I've found a painful bug when running an Access 2003 database under Access 2007. It manifests in both XP and Vista. Some combo boxes on some forms become transparent when they lose focus. It...
25
by: zmickle | last post by:
Excuse my noobness. I am managing an access database that is shared by 4 users. Management does not want to use any technologies outside of access for this application (no SQL Server, etc). I...
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...
1
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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.