Thanks Jens for your inputs.
As you said, data collection is indeed a non-intensive use case that
doesn't really need couchbase.
But it's off the shelf functionalities help.
Also, we want to test the waters before moving more critical data to
couchbase where bi directional replication will be in use.

Our database is completely push only for analytics though.
So delete and recreate does looks like a viable option.
This is what I intend to do.
1) check for file size and delete database after a certain threshold size .
2) recreate the database and replication objects.
3) Add all incoming data to a temporary db while the above process is going
on.
4) Copy the data from temporary db to the recreated db.

Does this sound good?
Is the delete process fast enough that there is little risk from
interruptions like app backgrounding?
Really appreciate the help.

-- 
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/CABpChA4jy5E%3Dp-ox%3Ddhp_Eir4CTbjwaKYCVWd%3DiE1E%2BGPnfxaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to