What is index and how it is used in MongoDB?
An Index is a special structure in MongoDB. It stores a minimal portion of data belonging to a specific field in a form that is easy to traverse. This feature is ordered by the value of a field, which is pre-specified in the index.
The primary role of an Index is to offer great performance read operations for queries that are used frequently.
Related Article: Mysql Interview Questions
BY Best Interview Question ON 03 Dec 2019