MongoDB.live, free & fully virtual. June 9th - 10th. Register Now MongoDB.live, free & fully virtual. June 9th - 10th. Register Now

_ID index is using $in

_ID index is using $in to query multiple documents for explain analysis. The number of scanned indexes is more than that of scanned documents

Please provide more details to help investigate your issue:

  • specific MongoDB server version
  • deployment type (standalone, replica set, or sharded cluster)
  • output of this query using explain("allPlansExecution")

Thanks,
Stennie