Couchbase Questions: views performance

Have a Question? Get it answered by our community

fredlaub's picture
Asked 2 weeks 5 days ago

View Index on all bucket documents => bad idea?

In a sql database you can query the db dictionary to get some info on each table => number of records in each table.

To know how many docs per doc_type, we could create following view:

function (doc, meta) {
if (doc.doc_type) {
emit(doc.doc_type, null);...