Thanks Jens How to compact database? And what is the use of traces of deleted document? I mean how to use them?
------------------------------------------------ Best Regards Hasan Gharehasanloo Front-end Web Developer Email: [email protected] Cell: (0098) 912-462-4557 LinkedIn: linkedin.com/fa/hghare<http://www.linkedin.com/pub/hasan-gharehasanloo/28/549/464> On Tue, Feb 25, 2014 at 10:12 AM, Jens Alfke <[email protected]> wrote: > > 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. > -- 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/CANCDsqe%3DFkKRyVH%2B9Ki8y%2BotFJoioxcAokHdsmM%2BwSkw9OFvZQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
