couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: include_docs with _all_docs
Date Wed, 09 May 2012 17:54:22 GMT

On May 9, 2012, at 2:43 AM, bryan rasmussen wrote:

If you want to get the all_docs view you should use the include_docs
parameter, which is normally a performance hit - is it also a
performance hit with all_docs

I don’t think so. _all_docs gets its results from walking the main by-id index (as opposed
to a separate view index) so there’s no extra b-tree lookup to fetch the documents.

(Disclaimer: I am not an expert on the Erlang CouchDB implementation.)

—Jens

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message