John W. Vinson <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in
news:(E-Mail Removed):
> If there are very few deletes and most primary keys are sequential
> autonumbers I'd say that compaction should be very rarely needed
> at all; would you agree, David?
Absolutely. But I would also say that it really needs to be
scheduled to run automatically, or people will forget to do it. It
can be done with a VBScript and the scheduler on your server. A
script that backs up the existing MDB (using a new filename derived
from the date) and compacts the MDB is pretty trivial to write. With
the backups, I think there's little danger of running it before the
database actually needs it. In a low-churn scenario, I think I'd
schedule it to run at least once a week.
Naturally, there are all the issues with users leaving the app open
and locking, etc., so if you do this, you need to have auto-logout
implemented in your app. I always coordinate the settings I use for
that with the backup/compact schedule so as to not annoy users any
more than necessary.
--
David W. Fenton
http://www.dfenton.com/
usenet at dfenton dot com
http://www.dfenton.com/DFA/