T
Timo
I've tried to select several newsgroups where this question would be
germane, though the issues don't fit neatly into any one of them.
Please allow me to state all of the salient facts.
I am going to deploy a .NET database application in the field, where I
will have no direct control over it. It is a single-user standalone
database application that uses the JET4.0 oledb provider against an
Access 2000 database. The app consists of an EXE and a single MDB.
As many of you know, Access databases tend to grow quite a lot because
the engine caches data in work tables. After a day or two, adding and
deleting just a few hundred records using ADO.NET, issuing various
queries that involve most of the tables, my 600K starter database can
grow to be well over 3MB. And it probably contains less than 50K of
actual data in the tables!
Access provides a Compact option that reclaims this work area and
shrinks the database. I am trying to track down how to compact the MDB
in DOTNET using oledb, but the KB article seems to have been withdrawn,
which makes me worry that it won't be possible.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q306538
I would appreciate any sage advice on how to approach the problem of the
expanding database given the scenario above (but not the kind that tells
me to use MSDE -- the deployment package has to be really small.)
TIA
Timo
germane, though the issues don't fit neatly into any one of them.
Please allow me to state all of the salient facts.
I am going to deploy a .NET database application in the field, where I
will have no direct control over it. It is a single-user standalone
database application that uses the JET4.0 oledb provider against an
Access 2000 database. The app consists of an EXE and a single MDB.
As many of you know, Access databases tend to grow quite a lot because
the engine caches data in work tables. After a day or two, adding and
deleting just a few hundred records using ADO.NET, issuing various
queries that involve most of the tables, my 600K starter database can
grow to be well over 3MB. And it probably contains less than 50K of
actual data in the tables!
Access provides a Compact option that reclaims this work area and
shrinks the database. I am trying to track down how to compact the MDB
in DOTNET using oledb, but the KB article seems to have been withdrawn,
which makes me worry that it won't be possible.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q306538
I would appreciate any sage advice on how to approach the problem of the
expanding database given the scenario above (but not the kind that tells
me to use MSDE -- the deployment package has to be really small.)
TIA
Timo