hello
I'm working on a project that involves manipulation of very large tables, and I'm having major BLOAT issues. This is part of a mathematics research project (my background is definitely not in programming!) where I need to do a great deal of DELETING and APPENDING. I've spent a good deal of time researching causes of bloat and have avoided the usual suspects wherever possible: (recordsets closed when done, optimized data types, using skeleton tables instead of creating/deleting new ones, etc...). I believe that the DELETING and APPENDING that I do is unavaidable.
My project involves generating and 'crunching' a series of very large tables to produce a relatively small (2 to 3 MB) output table. This entire process is repeated thousands of times. My application works very well, but I need to stop to COMPACT at the mid-point and the end of every cycle (about every 6.5 minutes), or else I hit the 2.0 GB barrier. In a perfect world, I'd like to run the process through the night without my intervention, but I'm realizing this may be impossible in MS ACCESS.
As background info, my application has no forms, and it operates on a single machine with one user (um... that's me). There are no security concerns.
Here are a few points where I'm hoping for some guidance.
1) Is there some way to use script to stop the application at certain points, COMPACT, then restart?
2) In several places I've seen advice to used stored queries instead of generating them in VBA. I've tested this and haven't found much difference. Any comments?
3) Is there any advantage in splitting the application? Does this even make sense on a single, one-user machine? Does this have any effect on bloating?
4) Would migrating to, say, SQL Server help me get around this bloating problem?
Much thanks in advance for any assistance
Vicky C.
I'm working on a project that involves manipulation of very large tables, and I'm having major BLOAT issues. This is part of a mathematics research project (my background is definitely not in programming!) where I need to do a great deal of DELETING and APPENDING. I've spent a good deal of time researching causes of bloat and have avoided the usual suspects wherever possible: (recordsets closed when done, optimized data types, using skeleton tables instead of creating/deleting new ones, etc...). I believe that the DELETING and APPENDING that I do is unavaidable.
My project involves generating and 'crunching' a series of very large tables to produce a relatively small (2 to 3 MB) output table. This entire process is repeated thousands of times. My application works very well, but I need to stop to COMPACT at the mid-point and the end of every cycle (about every 6.5 minutes), or else I hit the 2.0 GB barrier. In a perfect world, I'd like to run the process through the night without my intervention, but I'm realizing this may be impossible in MS ACCESS.
As background info, my application has no forms, and it operates on a single machine with one user (um... that's me). There are no security concerns.
Here are a few points where I'm hoping for some guidance.
1) Is there some way to use script to stop the application at certain points, COMPACT, then restart?
2) In several places I've seen advice to used stored queries instead of generating them in VBA. I've tested this and haven't found much difference. Any comments?
3) Is there any advantage in splitting the application? Does this even make sense on a single, one-user machine? Does this have any effect on bloating?
4) Would migrating to, say, SQL Server help me get around this bloating problem?
Much thanks in advance for any assistance
Vicky C.