Comment 5 for bug 427905

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

I think having an option for desktopcouch to automatically compact databases periodically might be nice, but for many applications (ahem, dmedia), the application can do a better job of deciding when compaction is needed, when doing the compaction wont affect user experience.

So if this feature is implemented, I'd really want an easy way for an app to opt-out of the auto-compaction (maybe through something similar to excluded_names).

I'm not thrilled about the idea of having some (or all) the databases automatically compact when deskcouch first starts. The desktopcouch startup is already a bit sluggish, and compacting the databases could cause a lot of IO at an inopportune time.

In some ways I think educating app developers about compaction might be a better solution. My two cents. :)