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.

Suggest An Answer

No suggestions avaliable!

Latest post from MongoDB Interview Questions

Ask Question