I believe that you can enable auto-vacuum on SQLite, but I'm not sure if 
Couchbase Lite takes advantage of that. I know it does more than just 
vacuums the database. It also purges unreferenced attachments.

Brendan

On Thursday, December 3, 2015 at 8:50:01 AM UTC-7, Jordan Wood wrote:
>
> I have decided to do my database compaction when my app transitions into 
> the background, so I am putting the call to compact in a background task 
> using beginBackgroundTaskWithExpirationHandler.  I'm trying to figure out 
> what to do if the OS decides that my background task has to stop before 
> compact is done.  Can I call [database stop], to stop compaction?  I 
> understand that compact spends most of its time in a few calls to SQLite, 
> is there any way that be stopped gracefully?
>

-- 
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/ff854865-25bd-4f27-87cc-6802e4b0421f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to