Created
October 29, 2018 11:43
-
-
Save miguelangelnieto/78e987adca4ce14c1ca638c0e48ea19d 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" : { | |
"Age" : { | |
"$gt" : 34 | |
} | |
}, | |
"inputStage" : { | |
"stage" : "IXSCAN", | |
"keyPattern" : { | |
"Name" : 1, | |
"Street" : 1 | |
}, | |
"indexName" : "Name_1_Street_1", | |
"isMultiKey" : false, | |
"multiKeyPaths" : { | |
"Name" : [ ], | |
"Street" : [ ] | |
}, | |
"isUnique" : false, | |
"isSparse" : false, | |
"isPartial" : false, | |
"indexVersion" : 2, | |
"direction" : "forward", | |
"indexBounds" : { | |
"Name" : [ | |
"[\"Miguel\", \"Miguel\"]" | |
], | |
"Street" : [ | |
"[MinKey, MaxKey]" | |
] | |
} | |
} | |
}, | |
"rejectedPlans" : [ | |
{ | |
"stage" : "FETCH", | |
"inputStage" : { | |
"stage" : "IXSCAN", | |
"keyPattern" : { | |
"Name" : 1, | |
"Street" : 1, | |
"Age" : 1 | |
}, | |
"indexName" : "Name_1_Street_1_Age_1", | |
"isMultiKey" : false, | |
"multiKeyPaths" : { | |
"Name" : [ ], | |
"Street" : [ ], | |
"Age" : [ ] | |
}, | |
"isUnique" : false, | |
"isSparse" : false, | |
"isPartial" : false, | |
"indexVersion" : 2, | |
"direction" : "forward", | |
"indexBounds" : { | |
"Name" : [ | |
"[\"Miguel\", \"Miguel\"]" | |
], | |
"Street" : [ | |
"[MinKey, MaxKey]" | |
], | |
"Age" : [ | |
"(34.0, inf.0]" | |
] | |
} | |
} | |
} | |
] | |
}, | |
"executionStats" : { | |
"executionSuccess" : true, | |
"nReturned" : 1, | |
"executionTimeMillis" : 0, | |
"totalKeysExamined" : 1, | |
"totalDocsExamined" : 1, | |
"executionStages" : { | |
"stage" : "FETCH", | |
"filter" : { | |
"Age" : { | |
"$gt" : 34 | |
} | |
}, | |
"nReturned" : 1, | |
"executionTimeMillisEstimate" : 0, | |
"works" : 3, | |
"advanced" : 1, | |
"needTime" : 0, | |
"needYield" : 0, | |
"saveState" : 0, | |
"restoreState" : 0, | |
"isEOF" : 1, | |
"invalidates" : 0, | |
"docsExamined" : 1, | |
"alreadyHasObj" : 0, | |
"inputStage" : { | |
"stage" : "IXSCAN", | |
"nReturned" : 1, | |
"executionTimeMillisEstimate" : 0, | |
"works" : 2, | |
"advanced" : 1, | |
"needTime" : 0, | |
"needYield" : 0, | |
"saveState" : 0, | |
"restoreState" : 0, | |
"isEOF" : 1, | |
"invalidates" : 0, | |
"keyPattern" : { | |
"Name" : 1, | |
"Street" : 1 | |
}, | |
"indexName" : "Name_1_Street_1", | |
"isMultiKey" : false, | |
"multiKeyPaths" : { | |
"Name" : [ ], | |
"Street" : [ ] | |
}, | |
"isUnique" : false, | |
"isSparse" : false, | |
"isPartial" : false, | |
"indexVersion" : 2, | |
"direction" : "forward", | |
"indexBounds" : { | |
"Name" : [ | |
"[\"Miguel\", \"Miguel\"]" | |
], | |
"Street" : [ | |
"[MinKey, MaxKey]" | |
] | |
}, | |
"keysExamined" : 1, | |
"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