1.

What is index and how it is used in MongoDB?

Answer»

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


Discussion

No Comment Found