← BYTES
MongoDB·Starter·Ref: 28.1.9

What is the primary purpose of an index in MongoDB?

Have a question about this video? Mention reference 28.1.9 when you contact us.

a.To compress stored documents
b.To let queries find matching documents without scanning every document in the collection
c.To encrypt sensitive fields
d.To automatically delete old documents
An index stores a small, ordered subset of field values plus pointers back to the full documents, letting the query planner avoid scanning the entire collection for a matching query.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES2819#MongoDB