> On Oct 30, 2014, at 6:30 PM, peng liu <liupw...@gmail.com> wrote: > > i know this. but i really need do like this. if i query first key and query > second key ,and then filter the results to my final result. it will so slowly > if my data large. so ,may be the couch base can not do like this .because i > query some like this (query (A > x and B = y ) or C < w)) often. so only sql > may be do this better that i think.
A SQL database will do exactly the same thing with a query like that — it'll run two or more index lookups, collect the results in memory, and then merge them. The query planner is hiding the details from you, so it looks simple. > But sql will be sync by myself between android and iOS or wp.. the data will > be large. this is the only reason that i use couch base. Data size isn't the only issue. Sync is really hard to do right. Trust me, I've been working on it for three years, and I already had a successful design (CouchDB) to copy :) —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 mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/6872B0C1-1320-4736-AD0E-2D1CFDCAD21B%40couchbase.com. For more options, visit https://groups.google.com/d/optout.