Skip to content

Glossary: MongoDB

SORT

Also written: SORT stage

A query-plan stage showing the server sorted the matches in memory, which is slow on large results. A compound index that matches the sort removes it.

Where the book teaches it

Related terms

Compound indexexplain()