> On Sep 5, 2014, at 9:31 AM, Foosh <[email protected]> wrote:
> 
> Is there a way to monitor compaction status and when it completes?

No :( I don't think I could add any effective progress indicator, because most 
of the time seems to be spent in one or two SQL statements.

> Or even a way to simply tell whether a database is in the process of 
> compacting?

It's compacting if you called -compact and the call hasn't returned yet :) You 
could define a global flag and set it before the call and clear it after.

I know compaction performance isn't very good in 1.0 … ForestDB will take care 
of this problem, because it does auto-compaction in the background without 
blocking access to the database. (A preview of CBL+ForestDB should be available 
very soon. I'm just waiting on the ForestDB team to declare beta and open their 
repo to the public.)

—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/027A47C9-664F-4766-A593-C5570008C73B%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to