On Wed, Mar 24, 2010 at 10:02 AM, Roessner, Silvester <[email protected]> wrote: > On, 24 Mar 2010, at 09:36, Jan Lehnardt [[email protected]] wrote > >> Yeah, you'll want to run compaction to redice on-disk file size. >> See http://wiki.apache.org/couchdb/Compaction for details. > > I stored each of the copies as a separat document with a unique ID. > My goal was to estimate how much disk space my database will consume. > So there are no old revisions to purge. > > I did a compaction already since I hoped CouchDB would compact anyway. > But since there are no old revisions the database keeps at 0.9 GB.
Compact not only remove revisions but also holes in the b-tree. Also make sure you use consecutive ids. - benoit
