Hi, MarkLogic will save complete copies of documents, but whether a JSON file of 500Kb on disk will really take a footprint of 500Kb of forest data is rather hard to predict. Values and property names are mapped to a string data table that is stored separately from the structure. If there is a lot of repetition in the data, it could be much less then 500Kb per copy. It is best to just try..
By the way, a 500Kb JSON sounds large. It might be worth looking into splitting it into pieces. MarkLogic works best with record-like documents. E.g. instead of saving an entire bookstore in one document, save books separately. Kind regards, Geert From: <general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>> on behalf of Pinku Surana <pinku.sur...@symbiont.io<mailto:pinku.sur...@symbiont.io>> Reply-To: MarkLogic Developer Discussion <general@developer.marklogic.com<mailto:general@developer.marklogic.com>> Date: Tuesday, June 20, 2017 at 4:53 PM To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" <general@developer.marklogic.com<mailto:general@developer.marklogic.com>> Subject: [MarkLogic Dev General] Question about bitemporal DB features I'm considering MarkLogic and have a question about the implementation of the bitemporal DB feature. Say I have a 500KB JSON document stored in the DB. I want to update a single field in the document 2000 times. Will MarkLogic store a duplicate of the entire object (resulting in 1GB of total storage for that object)? Or will it only store the difference between the object, hopefully resulting in significantly less space consumption? I want to use this feature to look at the object in the past. I'm hoping MarkLogic can store changes efficiently while also reconstructing old versions of the object quickly. Thanks.
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general