How to find the query that is slowing down MongoDB (without guessing)
opLatencies, currentOp, the profiler and $queryStats each answer a different question. Here is the order to ask them in, and the four causes that explain almost every slow MongoDB instance.
Read →