Last active
October 29, 2018 11:36
-
-
Save miguelangelnieto/1110618bc24d4b2aea64ddda730fd5ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"queryPlanner" : { | |
"plannerVersion" : 1, | |
"namespace" : "test.names", | |
"indexFilterSet" : false, | |
"parsedQuery" : { | |
"$and" : [ | |
{ | |
"Name" : { | |
"$eq" : "Miguel" | |
} | |
}, | |
{ | |
"Age" : { | |
"$gt" : 34 | |
} | |
} | |
] | |
}, | |
"winningPlan" : { | |
"stage" : "FETCH", | |
"filter" : { | |
"$and" : [ | |
{ | |
"Name" : { | |
"$eq" : "Miguel" | |
} | |
}, | |
{ | |
"Age" : { | |
"$gt" : 34 | |
} | |
} | |
] | |
}, | |
"inputStage" : { | |
"stage" : "IXSCAN", | |
"keyPattern" : { | |
"Street" : 1 | |
}, | |
"indexName" : "Street_1", | |
"isMultiKey" : false, | |
"multiKeyPaths" : { | |
"Street" : [ ] | |
}, | |
"isUnique" : false, | |
"isSparse" : false, | |
"isPartial" : false, | |
"indexVersion" : 2, | |
"direction" : "forward", | |
"indexBounds" : { | |
"Street" : [ | |
"[MinKey, MaxKey]" | |
] | |
} | |
} | |
}, | |
"rejectedPlans" : [ ] | |
}, | |
"executionStats" : { | |
"executionSuccess" : true, | |
"nReturned" : 1, | |
"executionTimeMillis" : 0, | |
"totalKeysExamined" : 4, | |
"totalDocsExamined" : 4, | |
"executionStages" : { | |
"stage" : "FETCH", | |
"filter" : { | |
"$and" : [ | |
{ | |
"Name" : { | |
"$eq" : "Miguel" | |
} | |
}, | |
{ | |
"Age" : { | |
"$gt" : 34 | |
} | |
} | |
] | |
}, | |
"nReturned" : 1, | |
"executionTimeMillisEstimate" : 0, | |
"works" : 5, | |
"advanced" : 1, | |
"needTime" : 3, | |
"needYield" : 0, | |
"saveState" : 0, | |
"restoreState" : 0, | |
"isEOF" : 1, | |
"invalidates" : 0, | |
"docsExamined" : 4, | |
"alreadyHasObj" : 0, | |
"inputStage" : { | |
"stage" : "IXSCAN", | |
"nReturned" : 4, | |
"executionTimeMillisEstimate" : 0, | |
"works" : 5, | |
"advanced" : 4, | |
"needTime" : 0, | |
"needYield" : 0, | |
"saveState" : 0, | |
"restoreState" : 0, | |
"isEOF" : 1, | |
"invalidates" : 0, | |
"keyPattern" : { | |
"Street" : 1 | |
}, | |
"indexName" : "Street_1", | |
"isMultiKey" : false, | |
"multiKeyPaths" : { | |
"Street" : [ ] | |
}, | |
"isUnique" : false, | |
"isSparse" : false, | |
"isPartial" : false, | |
"indexVersion" : 2, | |
"direction" : "forward", | |
"indexBounds" : { | |
"Street" : [ | |
"[MinKey, MaxKey]" | |
] | |
}, | |
"keysExamined" : 4, | |
"seeks" : 1, | |
"dupsTested" : 0, | |
"dupsDropped" : 0, | |
"seenInvalidated" : 0 | |
} | |
} | |
}, | |
"serverInfo" : { | |
"host" : "Miguels-MacBook-Pro.local", | |
"port" : 27017, | |
"version" : "3.6.8", | |
"gitVersion" : "6bc9ed599c3fa164703346a22bad17e33fa913e4" | |
}, | |
"ok" : 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment