On Feb 24, 2014, at 10:38 PM, Hasan Gharehasanloo <[email protected]> wrote:

> 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?

Compacting the database will get rid of most of the space taken up by a deleted 
document.
If you want to completely get rid of all traces of a document, use 
purgeDocument.

--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 [email protected].
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.

Reply via email to