Skip to content

Instantly share code, notes, and snippets.

/explain.json Secret

Created October 18, 2017 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2b76c5a7b4b348ea7206d8b544c7d455 to your computer and use it in GitHub Desktop.
Save anonymous/2b76c5a7b4b348ea7206d8b544c7d455 to your computer and use it in GitHub Desktop.
{
"queryPlanner" : {
"plannerVersion" : 1,
"namespace" : "lightning.lightningStrikes",
"indexFilterSet" : false,
"parsedQuery" : {
"$and" : [
{
"datetime" : {
"$lte" : ISODate("2017-10-11T23:59:57Z")
}
},
{
"datetime" : {
"$gte" : ISODate("2017-10-11T23:59:56Z")
}
}
]
},
"winningPlan" : {
"stage" : "FETCH",
"filter" : {
"$and" : [
{
"datetime" : {
"$lte" : ISODate("2017-10-11T23:59:57Z")
}
},
{
"datetime" : {
"$gte" : ISODate("2017-10-11T23:59:56Z")
}
}
]
},
"inputStage" : {
"stage" : "IXSCAN",
"keyPattern" : {
"datetime" : -1,
"location" : "2dsphere"
},
"indexName" : "datetime_-1_location_2dsphere",
"isMultiKey" : false,
"isUnique" : false,
"isSparse" : false,
"isPartial" : false,
"indexVersion" : 2,
"direction" : "forward",
"indexBounds" : {
"datetime" : [
"[MaxKey, MinKey]"
],
"location" : [
"[MinKey, MaxKey]"
]
}
}
},
"rejectedPlans" : [ ]
},
"executionStats" : {
"executionSuccess" : true,
"nReturned" : 2,
"executionTimeMillis" : 0,
"totalKeysExamined" : 4,
"totalDocsExamined" : 4,
"executionStages" : {
"stage" : "FETCH",
"filter" : {
"$and" : [
{
"datetime" : {
"$lte" : ISODate("2017-10-11T23:59:57Z")
}
},
{
"datetime" : {
"$gte" : ISODate("2017-10-11T23:59:56Z")
}
}
]
},
"nReturned" : 2,
"executionTimeMillisEstimate" : 0,
"works" : 5,
"advanced" : 2,
"needTime" : 2,
"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" : {
"datetime" : -1,
"location" : "2dsphere"
},
"indexName" : "datetime_-1_location_2dsphere",
"isMultiKey" : false,
"isUnique" : false,
"isSparse" : false,
"isPartial" : false,
"indexVersion" : 2,
"direction" : "forward",
"indexBounds" : {
"datetime" : [
"[MaxKey, MinKey]"
],
"location" : [
"[MinKey, MaxKey]"
]
},
"keysExamined" : 4,
"seeks" : 1,
"dupsTested" : 0,
"dupsDropped" : 0,
"seenInvalidated" : 0
}
},
"allPlansExecution" : [ ]
},
"serverInfo" : {
"host" : "???????.mongolab.com",
"port" : 25195,
"version" : "3.4.9",
"gitVersion" : "876ebee8c7dd0e2d992f36a848ff4dc50ee6603e"
},
"ok" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment