Maintaining document versions
Thu, 11/29/2012 - 00:03
if iam required to maintain versions of the documents of that i create in couchbase, is saving each version as sperate document the only option ? Iam looking for a better option since the document can sometimes grow upto 2MB and the changes between versions could only be minor (1-2 fields).
Does the DB offer anything like storing difference to save disk space ?
Reference : http://blog.couchbase.com/simple-document-versioning-couchdb
Hello,
In Couchbase 2.0 you do not have any other option than the one described in the blog post:
duplicate the data or implement a diff mechanism in your application
Regards
Tug
Tug
@tgrall