When performing an .explain() can someone tell me what the nYields field
is for?
db.update_queue.find().explain();
{
"cursor" : "BasicCursor",
"nscanned" : 6046,
"nscannedObjects" : 6046,
"n" : 6046,
"millis" : 5,
"nYields" : 23,
"nChunkSkips" : 0,
"isMultiKey" : false,
"indexOnly" : false,
"indexBounds" : {
}
}
From the net i found out this :
nYields is how many times the query was time sliced out. So that means for
this query other queries were let in 23 times.
What does this mean actually ??
This is my understanding with respect to the above
Whether this mean that this query waited until 23 queries were executed
before executing the current query ??
No comments:
Post a Comment