1.

__________ method provides a wrapper around the totalIndexSize output of the collStats (i.e. db.collection.stats()) operation.(a) db.collection.totalallIndexSize()(b) db.collection.totalIndexSizeAll()(c) db.collection.totalIndexSize()(d) all of the mentionedI got this question in homework.Asked question is from Indexing Strategies in section Index/Indexing Concepts of MongoDB

Answer» RIGHT choice is (c) db.collection.totalIndexSize()

The best explanation: To check the SIZE of your INDEXES, use the db.collection.totalIndexSize() helper, which returns data in BYTES.


Discussion

No Comment Found

Related InterviewSolutions