Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "explainVersion" : "1",
- "stages" : [
- {
- "$cursor" : {
- "queryPlanner" : {
- "namespace" : "loa.document",
- "indexFilterSet" : false,
- "parsedQuery" : {
- },
- "queryHash" : "B9878693",
- "planCacheKey" : "8EAA28C6",
- "maxIndexedOrSolutionsReached" : false,
- "maxIndexedAndSolutionsReached" : false,
- "maxScansToExplodeReached" : false,
- "winningPlan" : {
- "stage" : "PROJECTION_COVERED",
- "transformBy" : {
- "status" : 1,
- "_id" : 0
- },
- "inputStage" : {
- "stage" : "IXSCAN",
- "keyPattern" : {
- "status" : 1
- },
- "indexName" : "status_index",
- "isMultiKey" : false,
- "multiKeyPaths" : {
- "status" : [ ]
- },
- "isUnique" : false,
- "isSparse" : false,
- "isPartial" : false,
- "indexVersion" : 2,
- "direction" : "forward",
- "indexBounds" : {
- "status" : [
- "[MinKey, MaxKey]"
- ]
- }
- }
- },
- "rejectedPlans" : [ ]
- },
- "executionStats" : {
- "executionSuccess" : true,
- "nReturned" : 77914973,
- "executionTimeMillis" : 87340,
- "totalKeysExamined" : 77914973,
- "totalDocsExamined" : 0,
- "executionStages" : {
- "stage" : "PROJECTION_COVERED",
- "nReturned" : 77914973,
- "executionTimeMillisEstimate" : 5181,
- "works" : 77914974,
- "advanced" : 77914973,
- "needTime" : 0,
- "needYield" : 0,
- "saveState" : 80844,
- "restoreState" : 80844,
- "isEOF" : 1,
- "transformBy" : {
- "status" : 1,
- "_id" : 0
- },
- "inputStage" : {
- "stage" : "IXSCAN",
- "nReturned" : 77914973,
- "executionTimeMillisEstimate" : 3373,
- "works" : 77914974,
- "advanced" : 77914973,
- "needTime" : 0,
- "needYield" : 0,
- "saveState" : 80844,
- "restoreState" : 80844,
- "isEOF" : 1,
- "keyPattern" : {
- "status" : 1
- },
- "indexName" : "status_index",
- "isMultiKey" : false,
- "multiKeyPaths" : {
- "status" : [ ]
- },
- "isUnique" : false,
- "isSparse" : false,
- "isPartial" : false,
- "indexVersion" : 2,
- "direction" : "forward",
- "indexBounds" : {
- "status" : [
- "[MinKey, MaxKey]"
- ]
- },
- "keysExamined" : 77914973,
- "seeks" : 1,
- "dupsTested" : 0,
- "dupsDropped" : 0
- }
- }
- }
- },
- "nReturned" : NumberLong(77914973),
- "executionTimeMillisEstimate" : NumberLong(67884)
- },
- {
- "$group" : {
- "_id" : "$status",
- "status" : {
- "$sum" : {
- "$const" : 1
- }
- }
- },
- "maxAccumulatorMemoryUsageBytes" : {
- "status" : NumberLong(216)
- },
- "totalOutputDataSizeBytes" : NumberLong(687),
- "usedDisk" : false,
- "nReturned" : NumberLong(3),
- "executionTimeMillisEstimate" : NumberLong(87339)
- }
- ],
- "serverInfo" : {
- "host" : "rack-compute-2",
- "port" : 27017,
- "version" : "5.0.6",
- "gitVersion" : "212a8dbb47f07427dae194a9c75baec1d81d9259"
- },
- "serverParameters" : {
- "internalQueryFacetBufferSizeBytes" : 104857600,
- "internalQueryFacetMaxOutputDocSizeBytes" : 104857600,
- "internalLookupStageIntermediateDocumentMaxSizeBytes" : 104857600,
- "internalDocumentSourceGroupMaxMemoryBytes" : 104857600,
- "internalQueryMaxBlockingSortMemoryUsageBytes" : 104857600,
- "internalQueryProhibitBlockingMergeOnMongoS" : 0,
- "internalQueryMaxAddToSetBytes" : 104857600,
- "internalDocumentSourceSetWindowFieldsMaxMemoryBytes" : 104857600
- },
- "command" : {
- "aggregate" : "document",
- "pipeline" : [
- {
- "$group" : {
- "_id" : "$status",
- "status" : {
- "$sum" : 1
- }
- }
- }
- ],
- "hint" : "status_index",
- "cursor" : {
- },
- "$db" : "loa"
- },
- "ok" : 1
- }
Advertisement
Add Comment
Please, Sign In to add comment