Introduction
Collection scans happen when MongoDB looks through every document in a collection to find matches. This is slow and uses more resources.
When you query a field that has no index.
When you use a query with conditions that MongoDB cannot use indexes for.
When you search with operators that prevent index use, like $not or $regex without a prefix.
When you query on multiple fields but no compound index exists for those fields.
When you use sorting on a field without an index.