Mac OS X. I have about 50k documents and several views each from 10 to 40k docs. I remember reduce function is calculated in runtime at the moment, right? Of course I could save intermediate values somewhere, but I thought CBL might already have this functionality :) By the way is it safe to execute raw SQL on underlying database? Or it is not the best idea considering coming of forestdb backend?
воскресенье, 10 августа 2014 г., 19:42:38 UTC+3 пользователь Jens Alfke написал: > > > On Aug 10, 2014, at 8:40 AM, qw <[email protected] <javascript:>> wrote: > > Count via reduce functions takes a lot of processor time, I am wondering > if it is possible to count quickly elements emited by some view? > > > There's not currently anything faster than a reduce function. > What platform are you running, and how many rows are there in the view? > > —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/92f3880b-21d7-4880-95ab-77a5f0b7df06%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
