couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Trivial Update of "Frequently asked questions" by JanLehnardt
Date Sun, 30 Aug 2009 17:32:59 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JanLehnardt:
http://wiki.apache.org/couchdb/Frequently_asked_questions

The comment on the change is:
typo

------------------------------------------------------------------------------
  
  1) Your reduce function is not reducing the input data to a small enough output. See [:Introduction_to_CouchDB_views#reduce_functions]
for more details.
  
- 2) If you have a lot of documents or lots of large documents (going into the millions and
Gigabytes of data, the first time a view index is created just takes the time it is needed
to run through all documents.
+ 2) If you have a lot of documents or lots of large documents (going into the millions and
Gigabytes), the first time a view index is created just takes the time it is needed to run
through all documents.
  
  3) If you use the `emit()`-function in your view with `doc` as the second parameter you
effectively copy your entire data into the view index. This takes a lot of time. Consider
rewriting your `emit()` call to `emit(key, null);` and query the view with the `?include_docs=true`
parameter to get all doc's data with the view without having to copy the data into the view
index.
  

Mime
View raw message