Just a quick post so that I remember to elaborate on this later. I have found that whenever I have a large project to do in CouchDB I go through several iterations of designing the documents and the views.
My latest project is typical.
- First design was to push in really big documents. The idea was to run map reduce copy the reduce output to a second db, and map reduce that for the final result. But the view generation was too slow, I never got around to designing the second db, and the biggest documents triggered a bug/memory issue.