Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created September 12, 2017 17:35
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 mdcallag/22838d174f12b058deea9403d5d70d47 to your computer and use it in GitHub Desktop.
Save mdcallag/22838d174f12b058deea9403d5d70d47 to your computer and use it in GitHub Desktop.
{
"queryPlanner" : {
"plannerVersion" : 1,
"namespace" : "ib.pi1",
"indexFilterSet" : false,
"parsedQuery" : {
"customerid" : {
"$lt" : 0
}
},
"winningPlan" : {
"stage" : "PROJECTION",
"transformBy" : {
"_id" : -1,
"price" : 1,
"customerid" : 1
},
"inputStage" : {
"stage" : "FETCH",
"filter" : {
"customerid" : {
"$lt" : 0
}
},
"inputStage" : {
"stage" : "IXSCAN",
"keyPattern" : {
"price" : 1,
"customerid" : 1
},
"indexName" : "pc",
"isMultiKey" : false,
"multiKeyPaths" : {
"price" : [ ],
"customerid" : [ ]
},
"isUnique" : false,
"isSparse" : false,
"isPartial" : false,
"indexVersion" : 2,
"direction" : "forward",
"indexBounds" : {
"price" : [
"[MinKey, MaxKey]"
],
"customerid" : [
"[MinKey, MaxKey]"
]
}
}
}
},
"rejectedPlans" : [ ]
},
"serverInfo" : {
"host" : "nuc1",
"port" : 27017,
"version" : "3.4.6-1.7",
"gitVersion" : "74b930309498503ee1c64d9a2526e45e2da464a2"
},
"ok" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment