How much should a database change before you'd want to compact it? In what way would you measure that? I just run a daily Python script (using couchdbkit) that compacts all databases and views, which works fine in our setup. I think I heard upcoming versions of CouchDB will support some form of auto-compacting?
Nils Breunese. ________________________________________ Van: John Merrells [[email protected]] Verzonden: zaterdag 24 april 2010 19:05 Aan: [email protected] Onderwerp: last compact time || updates since last compact Hello I'm writing a script to automate compaction of my couch databases. Right now it just calls compact on all the databases it finds on each server, which turns out to be a bit wasteful if the database hasn't changed much since the last compaction. I could grab the info for each database and stash it for later, but it'd be handier if couch just exported status information for this. Does it? Could it? What do other folks do about automatic lazy couch compaction.... John -- John Merrells http://johnmerrells.com +1.415.244.5808 De informatie vervat in deze e-mail en meegezonden bijlagen is uitsluitend bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan.
