[AccessD] Back End Bloat - Revisited

McGillivray, Don [IT] Donald.A.McGillivray at sprint.com
Wed Dec 31 20:04:36 CST 2008


Hello All

A couple of weeks ago I posted a question concerning a bloating problem in the back end database used by my application(s).  Thanks again to all of you who took the time to respond.  I implemented all the solutions that were suggested, but still the problem persists.  So, here I am again with hat in hand . . .

The problem in a nutshell:

The back end database contains nothing but tables - no queries, no forms, no reports, no code of any kind.

With a very few minor exceptions (~150-200 8-field records/month) data is only added to the tables - not removed.

There are two applications that access the back end around the clock - one gathers data from other sources and populates the system tables, and the other provides a user interface which retrieves the data via reports and various forms bound to the system data.

Most data is added to the tables by means of either saved insert queries or SQL built on the fly and executed using "db.execute" statements in my code.  All such queries/code reside in the front end application mdb.

I have examined my code thoroughly, and can verify that there are no DAO recordset objects created in the front end that are not subsequently set to nothing, the setting to nothing occurring always in a post error handler exit routine embedded in each procedure.  All DAO recordsets are being closed before being set to nothing.

The BACK END is where I'm having the problem - NOT the front end.  (There is some insignificant growth in the FE, but it's the BE that is off the charts.)

The app can run for several complete processing cycles (each cycle involves the collection of data from text files produced by other systems) with no weight gain - NONE, and then it will suddenly leap in size by as much as 100 MB.  Within a couple of hours, it will have grown from about 150 MB to well over 500 MB.  Then within 24 hours, it will have grown to a size approaching 2 GB, requiring a compact.  The last time I ran through this routine, the compacted size was just 8K larger than the size it started out at before it started growing.

I'm getting desperate here.  Still hoping that somebody can suggest an approach that will stop the madness.

Many thanks!

Don McGillivray

This e-mail may contain Sprint Nextel Company proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message.





More information about the AccessD mailing list