EOF
Short Description
When a stage is end-of-stream
Detailed Description​
In a MongoDB explain plan, EOF stands for End Of File (though in the database context, it really means "end of data" or "all documents have been processed").
In simple terms:
- EOFÂ means MongoDB has finished going through all documents that match the query or has finished its scan of the collection or index.
- When you seeÂ
"isEOF": 1 orÂ"stage": "EOF" in an explain plan, it signals that the query engine reached the end of the available results and there’s no more data to return or process.
This is a normal and expected part of query execution—it marks the point where MongoDB is done reading from the relevant collection or index for that operation.
Additional Links​
Search online​
If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.