------------------------------------------------
Best Regards
Email: h_g...@yahoo.com
Cell: (0098) 912-462-4557
LinkedIn: linkedin.com/fa/hghare
I am investigating on CBLite storage consumption in android applications. I found out that after delete a document or even all records in application by delete() function of document, the size of *.cblite file increase. I guess that it is some sort of soft deleting. Is there any solution to delete a document completely and in a way that decrease *.cblite file size?
------------------------------------------------
Best Regards
Email: h_g...@yahoo.com
Cell: (0098) 912-462-4557
LinkedIn: linkedin.com/fa/hghare
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/F4AEDFE9-2F72-4F3E-82C7-91F9184F3545%40couchbase.com.
For more options, visit https://groups.google.com/groups/opt_out.
How to compact database?
And what is the use of traces of deleted document? I mean how to use them?
There should be a ‘compact’ method on the Database class. (I’m not very familiar with the Android/Java API.)
And what is the use of traces of deleted document? I mean how to use them?For replication — If there were no trace left of a deleted document, then if you replicated from another database that contained that document, it would reappear. The deletion is a permanent record that you deleted the doc. And if you replicate to another database, the deletion will propagate.(The details: deleting a document is really just adding a new revision whose contents consist only of a “_deleted”:true property.)—Jens
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/263A878C-4A0D-4A03-968C-E4CF8D0E9346%40couchbase.com.