Having a high ratio of deleted to active documents is generally an anti-pattern in Cloudant and CouchDB (see: https://stackoverflow.com/a/22905621/1033422).
Question: Why is this an anti-pattern?
Having a high ratio of deleted to active documents is generally an anti-pattern in Cloudant and CouchDB (see: https://stackoverflow.com/a/22905621/1033422).
Question: Why is this an anti-pattern?
Every document that is deleted is replaced with small amount of metadata called a tombstone which is used during replication (a tombstone is also created for each document that is in a batch delete operation).
Although tombstone documents contain only a small amount of metadata, having lots of tombstone documents will have an impact on the size of used storage.
Tombstone documents still show up in _changes so require processing for replication and when building views.