couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Compaction" by SebastianCohnen
Date Wed, 03 Mar 2010 23:05:18 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Compaction" page has been changed by SebastianCohnen.
The comment on this change is: rephrased introduction (thanks paul davis).
http://wiki.apache.org/couchdb/Compaction?action=diff&rev1=19&rev2=20

--------------------------------------------------

  
  == Database Compaction ==
  
- Compaction rewrites the database file, removing outdated document revisions and deleted
documents. Outdated revisions are revisions of documents which are currently not in a conflict
state on the particular node the compaction is running on. Technically compaction only makes
these documents (their content or body) unavailable and leaves a skeleton for conflict resolution
during [[Replication|replication]]. It is available since version 0.8-incubating.
+ Compaction compresses the database file by removing unused sections created during updates.
Old revisions of documents are also removed from the database though a small amount of meta
data is kept for use in conflict [[Replication|replication]] during replication. The number
of revisions (default of 1000) can be configured using the ``_revs_limit`` URL endpoint (see
[[HTTP_database_API#Accessing_Database-specific_options]]). It is available since version
0.8-incubating.
  
  Compaction is manually triggered per database. Support for queued compaction of multiple
databases is planned. Please note, that compaction will be run as a background task.
  

Mime
View raw message