mongoDB – Index Size

We can determine index size of a collection by using following command in mongoDB.

Suppose our collection name is “students”.


Our index and data both can take space in memory but it is more important that our index fit into the memory.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.