You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Ektorp with an out-of-the-box Cloudant database (in case you don't know what Cloudant is, it is an extension of CouchDB).
I get terrible performance when calling CouchDbRepositorySupport.getAll() to retrieve all documents from a collection (15s for 60 documents). Debugging showed, that designDocContainsAllView() returns false and Ektorp uses a single query for every document.
So there is a working view (_all_docs) to query all documents, why isn't it used instead of the horribly slow loadAllByAllDocIds()? And what is the difference between the all view and _all_docs view?
The text was updated successfully, but these errors were encountered:
I'm using Ektorp with an out-of-the-box Cloudant database (in case you don't know what Cloudant is, it is an extension of CouchDB).
I get terrible performance when calling
CouchDbRepositorySupport.getAll()
to retrieve all documents from a collection (15s for 60 documents). Debugging showed, thatdesignDocContainsAllView()
returnsfalse
and Ektorp uses a single query for every document.Without any problem, I can replace the
getAll()
call withSo there is a working view (
_all_docs
) to query all documents, why isn't it used instead of the horribly slowloadAllByAllDocIds()
? And what is the difference between theall
view and_all_docs
view?The text was updated successfully, but these errors were encountered: