> On Sep 2, 2014, at 10:00 AM, Sherry Ummen <[email protected]> wrote:
> 
> But what I wanted is just few properties of the document but not full 
> document.

Then you should use a view instead, which emits only the properties you need. 
In your query code, get those properties from the row's Value instead of 
accessing the document.

What your current code is doing is reading/parsing every document in the 
database one at a time. That's going to be slow.

> some of the document size is more than 90MB.

Including attachments or not? It's OK to have large attachments because they're 
not read as part of the document. But 90MB of JSON in the document body is 
much, much too large for good performance. (Did we talk about this before? 
Maybe it was with someone else; but there are threads from the past month 
talking about moving large data out of the document body.)

—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/C46DB605-EE41-4AD7-90BF-27C157F49B09%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to