Question

Sudden Growth in Access 2007 Front End Database

Asked by: jdfuller

OK.  I am having this same problem.  Mature application.  FE Access 2007 pointed to BE Access 2007 tables.  Normally the tables are 100 or so MB and the FE is 27MB.  I can sit and watch as 5 sessions sit idle and the db FE jumps up about 10MB an hour.  I can watch the jumps on a minutes by minute basis and I know these users are not doing anything.  Again, the app was stable and there have been ZERO changes in the db by me (programmatically).  Interestingly enough, I also have a timer event that clicks off every 20 secs to read a table in which a text has been stored fo rthat user to retreive.  It is sort of a poor man's built in IM.  If a user takes action on a Journal item that was assigned to him and the user assigning it has checked 'Response Required', then the issuing user gets a reply back saying that the receiver has taken said action (whatever the text is).
 This has been working flawlessly for months with no expansion in size and the db has been growing in data size about 35-45MB a year for the last few years.  Why all of a sudden this exponential growth?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-19 at 16:41:58ID24666693
Tags

growth

,

expansion

,

bloat

,

database

,

Access 207

Topics

Microsoft Access Database

,

Access Architecture/Design

,

Access Coding/Macros

Participating Experts
5
Points
500
Comments
29

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. How the network management contribute to growth of net…
    How the network management contribute to growth of networking?
  2. Growth Velocity
    I am trying to figure out a way to have Access 2002 calculate a growth velocity. I am working with 1 main form called PatientData with a Subform called Visits. In the subform, there may be several visits for the same patient each with a different date (DateOfVisit). The heigh...
  3. Tools for Monitoring Data growth
    Are there any tools available to monitor the data growth on servers. We are using Netbackup Datacenter edition for windows and I need some advice to monitor the data growth and the size of data we are backing up everyday. What is the best way to monitor the growth of exchange...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: jdfullerPosted on 2009-08-19 at 16:48:16ID: 25138350

Refer to related Q: 24032220  -  Link above "Related Solutions;"
Reading the whole thread will take a little time but my Q will make a whole lot more sense.  :o)
jdf

 

by: boag2000Posted on 2009-08-19 at 18:25:42ID: 25138749

Not sure...

Try the usual on the FE:

1. Run the compact/Repair utility

2. Create a blank new database and import all of the objects into it.
(then obviously re-link the tables to this new FE)

3. If you have autoupdates turned on, and MS Update, may be affecting this...

4. Have you done a full AntiVirus/Spyware/malware scan recently?

JeffCoachman

 

by: jdfullerPosted on 2009-08-19 at 20:26:41ID: 25139189

C&R takes less than 2 secs and FE db goes from 110MB to 23MB; where it should be.  The tables go from 123MB to 118MB.  That is reasonable for the activity.  There are no queries or forms save a switchboard in the table BE db.  All q's, forms, and code reside in the FE.  The new FE after import was 50MB.  After C&R, 25MB.  The same size as the previous version after C&R.  It took almost ten minutes to totally import but the navigation bar was set to display tables and related objects and that takes a long time anyway.  No re-linking was needed, however.  I used the new one for 5-7 minutes and the size grew by 2MB to 27MB.  All I added was three estimates of single line, non-complex, image free data.

As for the Scans, we scan the entire machine every night.  Auto-updates are on.  Not sure what to do there except turn them off but the damage has been done, perhaps.

JDF

 

by: jdfullerPosted on 2009-08-19 at 20:28:57ID: 25139193

Compact on exit does work in multi-user, does it?  I can't see the db compacting while others are intit.  Is Access smart enought o know that and only compacts when last user is out?  I highly doubt it.  I could see some code for that, I guess.

JDF

 

by: boag2000Posted on 2009-08-19 at 21:57:20ID: 25139451

Well, I don't know that I would even be concerned with a 2mb increase in size.
An Access DB will always increase in size slightly as you use it.
That's just the cost of how the database works.
Every application "Leaks" to a certain extent.
In the same way that a Car standing still and idling will burn a little gas.

(Are you using any recordsets)

 

by: boag2000Posted on 2009-08-19 at 22:04:07ID: 25139470

You can compact the FE on close because it is local to the user.
But again, a 2mb increase is hardly worth the trouble.
Besides, it will only increase by that same amount the next time anyway, so why bother?
You will probably never get it to *stay* at 23mb, and *NEVER* increase.
You can compact the FE every so often just to be sure.
But IMHO, I would just refresh it with a fresh copy of the "Reference" front end.

The BE must be compacted with everyone out of it.

Lets see what some other experts have to add...
;-)

JeffCoachman

 

by: peter57rPosted on 2009-08-19 at 22:58:57ID: 25139641

Your problem suggest that you have not updated to the latest service release.(SP2)
This problem should have been fixed in that release.

 

by: BellonePosted on 2009-08-20 at 02:45:58ID: 25140605

I posted the original question referred to in this one.  The problem there was that the BACKEND was growing (by a gig or more).   What seemed to cure it was taking out the 'bump' routine, whereby a front-end form checked a field in a backend table every 10 sec.  If it found a 'bump' instruction, it caused the front-end to close.  

The general consensus seemed to be that the backend was somehow accumulating the status-checks, and with one every 10 seconds from a dozen or more open frontends, these would come to quite a number over the course of a working day.

I took out the bump routine and haven't had the problem since.  Incidentally, this app was running SP2 throughout.

From all the comment on my original question, it sounds highly likely that your timer event will turn out to be the culprit.

Bellone

 

by: jdfullerPosted on 2009-08-20 at 08:33:29ID: 25143830

I think the comment I added regarding the 2MB growth in a minute or so is a distraction.  The DB actually grows from 25MB in the morning to about 120MB by 5pm.  I have seen growth before and I am familiar with the db processes that make this happen but I have never seen, especially in this db, growth like this in one day.  The app is over 3 years old and migrated to Acc 2007 several months ago and has been working great with no huge growth that a compact and repair didn't take care of once every other week or so.  All of a sudden, in the last week, it has been bloating by 100MB in one day!  That worries me.

Bellone, you mentioned SP2.  The app is developed in SP2 but the clients are all using Access RunTime 2007.  Everyone has a shorcut to the same file on the server and they have RT installed locally.  This has been a stable model throughout Acc 2003 and up.  Not sure how to validate the RT version but I downloaded it from MS about 6 months ago.

Currently it is expanding at the rate of approx 1MB per minute.  In the time it took me to type this it expanded from 27MB to 34MB = 5 users in.

JDF

 

by: jdfullerPosted on 2009-08-20 at 08:47:57ID: 25144012

NOTE:  Some clients have had trouble maintaining connection to the server.  The db will disonnect for no appearant reason.  If this happened often enough, would the disconnect create this growth?  Are the disconnects an effect of the growth problem.  This may be a reach.  The db is growing with solid connections, too, so that may be enough to dismiss this idea.  

The disconnects seem to have been resolved but would they have left a scar in the db that it now has to deal with on a continual basis.  Not sure where to look for this.  I did save the imported db but I did not connect everyone to it this morning.  I let them use the original one since I did not see any flags in the size of the newly imported db.

 

by: BellonePosted on 2009-08-20 at 08:49:38ID: 25144021

How about creating a spare front-end which doesn't have the timer event, and seeing whether it grows by itself, at the same rate as the other front-ends?

My terminal server user's front-ends all grow from 33Mb to around 90Mb every day.   I am virtually certain this is due to a timer event, designed to cause a call-status form (displayed on SmartBoard) to be updated every 30 seconds.  I get round this by having a batch file which overwrites their front-ends from the master version every night.

Bellone

 

by: jdfullerPosted on 2009-08-20 at 08:49:40ID: 25144022

Bellone:  I will experiment with the timer event tonight and see what results tomorrow.  My timer is in the FE.  That is the part that is growing.  Makes sense.

 

by: jdfullerPosted on 2009-08-20 at 08:58:20ID: 25144117

Bellone:  We poisted exactly same time.  Responding to your comment...I will use the newly imported FE and remove the timer then see what transpires Friday.  Thanks.

JDF

 

by: jdfullerPosted on 2009-08-20 at 08:59:30ID: 25144132

Hmmm:  Better yet.  I will leave the new FE open by iteself all day today and see what happens.  Good one!

 

by: jdfullerPosted on 2009-08-20 at 09:19:07ID: 25144341

I have opened the new FE on the server.  Mind you , it is NOT running the RT but the full version of Access 2007.  Either way, I expect the growth to be substantial enough that within a few minutes of use I would see some change.  I made a new estimate (which is the heavist form) and viewed some forms with multiple queries on them and left it open as the users do.  The timer runs on a form that opens after the user login as kind of a splash screen with action items on it.  That is always open.  In fifteen minutes the start size of 28,484KB is exactly the same as it is now.  Importing all the objects into the new FE like boaq2000 (JeffCoachmen) suggested may have fixed it.  I'm going to let it sit for several hours and then deploy it tomorrow if it doesn't grow.  If that fixes it, then points to Jeff.  

What if importing fixed the timer event?  My timer event is requery code firing every 20sec on a table that may have been updated to include this particular users name and therefore any records belonging to them would be popped on the screen.  I think it is fairly benign and has been in the program for almost a year now but I suppose its possible.

JDF    Comments?  I want to be fair.

 

by: BellonePosted on 2009-08-20 at 09:30:41ID: 25144453

If the post-Boaq front-ends don't grow, then the import routine will have solved the problem.  If they do, you can follow my suggestion above and see what happens.

Bellone.

 

by: jdfullerPosted on 2009-08-20 at 09:43:22ID: 25144588

Fair enough.  Stay tuned.   Some stats...

GT Import New - 1 User
======================
9:02 AM 8/20/2009      28,484KB
9:40 AM 8/20/2009      Same
9:41 AM 8/20/2009      Same


GlassTrak PRO - 5 User
=======================
9:22 AM 8/20/2009      36,388KB
9:40 AM 8/20/2009      38,832KB
9:41 AM 8/20/2009      39,092KB
9:42 AM 8/20/2009      39,656KB

 

by: LSMConsultingPosted on 2009-08-20 at 18:37:18ID: 25148497

Are these COMPILED FE's (i.e. .mde format)?

< Everyone has a shorcut to the same file on the server and they have RT installed locally.>

Do you mean that all connect to the same Backend? Or that they're all sharing the same Frontend (which would all share the same Backend)? If so, this is not the recommended method ... I know, I know it's been working for xxx months/days/years like that <g> ... but the simple truth is that's not the way to do it ... of course, if you are NOT doing it this way, and each user has a copy installed on their local workstation, then I remove my pithy comments <g>.

 

by: aikimarkPosted on 2009-08-21 at 16:05:45ID: 25156631

question: does each user have their own FE copy or are they shared?

 

by: jdfullerPosted on 2009-08-21 at 22:00:23ID: 25157444

In Access 2007, these are C&R sizes for accdb.  We are not using the MDE's (whatever they would be in 2007, I'm not sure.)

Re:  Best Practices.  I agree.  By convenience only, the shortcuts at the client point to the FE (one file) on the server.  The only thing installed at the client is the Acc 2007 RT client.  

The reason it was deployed this way was because before I knew better I had 5 Term Servers serving 125 remote concurrent connections with load balancing plus 54 local domain clients.  Each TS had 25 clients (max) all using a local copy of the FE.  All 5 of the FE's pointed to a single BE (of course) which was a bunch of SQL tables.  Each of the 54 internal clients were pointing to the same FE on an application server linked to the same BE (SQL).  6 years with upgrades, never had this issue.  If it works don't fix it.  I had a batch file replace the FE's when I made a change - 6 copies, one for each TS and one for the App Server.

So, I am dealing with an SBS2003 Server.  No remote connections.  All internal domain clients using the same copy of the FE.  3 years no issues.

By the way.  The import of all objects into a new FE did the trick.  No growth (a few MB's over 24 hours).  Before the end of the day on 8/20 the db was 150MB.  Today, 27MB - no crashes.

Boaq2000 on 8/19.  I have to say your solution worked.

Thank all of you for contributing.  That is the spirit of this site that is worth membership.

 

by: boag2000Posted on 2009-08-23 at 22:48:46ID: 25165825

Great, but remember that you can also split the points between all posts that may have helped...
;-)

JeffCoachman

 

by: LSMConsultingPosted on 2009-08-24 at 05:07:32ID: 25167471

<All internal domain clients using the same copy of the FE.  3 years no issues.>

This is purely by chance <g> ... this sometimes works okay, depending on the nature of the application and the usage levels. In general, this is a recipe for troubles, and is most assuredly not in the overall "best practices".

I post this because EE is a knowledgebase, and those searching for solutions should understand that while the author's setup works for them, in the VAST majority of environments, the correct method for deploying a multiuser application is to provide a COPY of the frontend database to each user, and not to share that copy among users. This is recommended by every professional Access developer I know, and by Microsoft, and by EVERY Access MVP.

 

by: jdfullerPosted on 2009-08-24 at 17:21:36ID: 25173727

I am going to eat some humble pie here but for the sake of correctness:  

I am sorry, Boaq.  The db exploded to 160MB today starting from 28MB and now there are several machines getting "lost network connection" errors.  I am beginning to think we may have an infrastructure problem.  I think I wanted that solution so bad I didn't wait long enough for results.  The growth appears almost immediately so I wasn't prepared for a day's wait before it happened.

Do you think the network errors may be the cause or the after effect?  We are looking to see that the switch is not dying for some reason.  This nasty disconnects; could they be creating excess bagage for the FE?

We will copy the FE to every machine as well to see if that helps as starters.

I will open a new question if moderator will allow it, other wise maybe we can re-open this one.  I'd almost like to start over for clarity's sake.  I pitty anyone trying to follow this thread.

Any suggestions would be appreciated.

 

by: LSMConsultingPosted on 2009-08-24 at 18:09:38ID: 25173901

Dropped network connects wreak havoc on Access databases, and are one of the leading causes of corruption and, of course, bloat. I'd fix those first (and deploy a copy to each user) before doing much else.

Also, if you do post a new question, use the "ask a related question" link (immediately above the box where you type in new comments) so that your new question will have a link back to this one.

 

by: aikimarkPosted on 2009-08-25 at 05:31:51ID: 25176777

This is probably a bizarre suggestion, but is it possible to make the FE database read-only?

 

by: jdfullerPosted on 2009-08-25 at 05:58:06ID: 25177013

Appreciate it.  Thanks, Jim:

Experts:  Update...  I have copied all users with a local file of the FE.  I found the server to be terribly fragged with less than 10% free space left and defragged the drive.  It's a RAID-5 array w total space of 74GB.  It's an older box and we do need to watch it until the new server comes on line in a few weeks.  It now has over 30% free space.  This can only help.  The only reason I mention it is to edify.

I will be watching the day here to see if these two actions (defrag and individual FE's) helps the dropped connections to the BE on the server that we have been experiencing.  It started on one machine and spread to three then four.  It is coincidental with the size of the FE.  As it grew during the day the connection dropping frequency increased.  Not sure if connection drops begets the size of the FE as LSM pointed out (makes absolute sense) or vice-versa but needless to say the current configuration seems to be lacking somewhere.

Stay tuned....and thanks again for sticking it out.

 

by: LSMConsultingPosted on 2009-08-25 at 06:08:58ID: 25177115

That would make sense ... as the FEs corrupt, they would become larger, typically.

I'm betting you'll find freeing up that disc space will help quite a bit. Also, remember that if you have deployed individual FEs to each user, then the ONLY commonality between them is the backend, the machine hosting that backend, and the hardware required to get to that machine (at least the common routes).

 

by: jdfullerPosted on 2009-09-01 at 15:39:27ID: 31617940

Listen to this expert when ever possible!  Yes.  Each user has their own copy of the FE and that did fix the bloating.  A week of no crashes, disconnects or bloating.  Thank you.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...