Advertisement
Guest User

Live server find explain

a guest
Oct 12th, 2015
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. db.getCollection('product').find({
  2.     "_type": "healthcare2",
  3.     "own_risk": 375,
  4.     "active": true,
  5.     "enabled": true,
  6.     "age_to": {
  7.         "$gt": 36
  8.     },
  9.     "age_from": {
  10.         "$lte": 36
  11.     },
  12.     "_collectivity": null
  13. }).explain(true);
  14. /* 1 */
  15. {
  16.     "queryPlanner" : {
  17.         "plannerVersion" : 1,
  18.         "namespace" : "komparu_product_dev.product",
  19.         "indexFilterSet" : false,
  20.         "parsedQuery" : {
  21.             "$and" : [
  22.                 {
  23.                     "_collectivity" : {
  24.                         "$eq" : null
  25.                     }
  26.                 },
  27.                 {
  28.                     "_type" : {
  29.                         "$eq" : "healthcare2"
  30.                     }
  31.                 },
  32.                 {
  33.                     "active" : {
  34.                         "$eq" : true
  35.                     }
  36.                 },
  37.                 {
  38.                     "enabled" : {
  39.                         "$eq" : true
  40.                     }
  41.                 },
  42.                 {
  43.                     "own_risk" : {
  44.                         "$eq" : 375.0000000000000000
  45.                     }
  46.                 },
  47.                 {
  48.                     "age_from" : {
  49.                         "$lte" : 36.0000000000000000
  50.                     }
  51.                 },
  52.                 {
  53.                     "age_to" : {
  54.                         "$gt" : 36.0000000000000000
  55.                     }
  56.                 }
  57.             ]
  58.         },
  59.         "winningPlan" : {
  60.             "stage" : "KEEP_MUTATIONS",
  61.             "inputStage" : {
  62.                 "stage" : "FETCH",
  63.                 "filter" : {
  64.                     "$and" : [
  65.                         {
  66.                             "_collectivity" : {
  67.                                 "$eq" : null
  68.                             }
  69.                         },
  70.                         {
  71.                             "_type" : {
  72.                                 "$eq" : "healthcare2"
  73.                             }
  74.                         },
  75.                         {
  76.                             "active" : {
  77.                                 "$eq" : true
  78.                             }
  79.                         },
  80.                         {
  81.                             "enabled" : {
  82.                                 "$eq" : true
  83.                             }
  84.                         },
  85.                         {
  86.                             "own_risk" : {
  87.                                 "$eq" : 375.0000000000000000
  88.                             }
  89.                         },
  90.                         {
  91.                             "age_from" : {
  92.                                 "$lte" : 36.0000000000000000
  93.                             }
  94.                         },
  95.                         {
  96.                             "age_to" : {
  97.                                 "$gt" : 36.0000000000000000
  98.                             }
  99.                         }
  100.                     ]
  101.                 },
  102.                 "inputStage" : {
  103.                     "stage" : "IXSCAN",
  104.                     "keyPattern" : {
  105.                         "_collectivity" : 1.0000000000000000
  106.                     },
  107.                     "indexName" : "_collectivity_1",
  108.                     "isMultiKey" : true,
  109.                     "direction" : "forward",
  110.                     "indexBounds" : {
  111.                         "_collectivity" : [
  112.                             "[null, null]"
  113.                         ]
  114.                     }
  115.                 }
  116.             }
  117.         },
  118.         "rejectedPlans" : [
  119.             {
  120.                 "stage" : "KEEP_MUTATIONS",
  121.                 "inputStage" : {
  122.                     "stage" : "FETCH",
  123.                     "filter" : {
  124.                         "$and" : [
  125.                             {
  126.                                 "_collectivity" : {
  127.                                     "$eq" : null
  128.                                 }
  129.                             },
  130.                             {
  131.                                 "_type" : {
  132.                                     "$eq" : "healthcare2"
  133.                                 }
  134.                             },
  135.                             {
  136.                                 "active" : {
  137.                                     "$eq" : true
  138.                                 }
  139.                             },
  140.                             {
  141.                                 "enabled" : {
  142.                                     "$eq" : true
  143.                                 }
  144.                             },
  145.                             {
  146.                                 "own_risk" : {
  147.                                     "$eq" : 375.0000000000000000
  148.                                 }
  149.                             },
  150.                             {
  151.                                 "age_from" : {
  152.                                     "$lte" : 36.0000000000000000
  153.                                 }
  154.                             }
  155.                         ]
  156.                     },
  157.                     "inputStage" : {
  158.                         "stage" : "IXSCAN",
  159.                         "keyPattern" : {
  160.                             "age_to" : 1.0000000000000000
  161.                         },
  162.                         "indexName" : "age_to_1",
  163.                         "isMultiKey" : false,
  164.                         "direction" : "forward",
  165.                         "indexBounds" : {
  166.                             "age_to" : [
  167.                                 "(36.0, inf.0]"
  168.                             ]
  169.                         }
  170.                     }
  171.                 }
  172.             },
  173.             {
  174.                 "stage" : "KEEP_MUTATIONS",
  175.                 "inputStage" : {
  176.                     "stage" : "FETCH",
  177.                     "filter" : {
  178.                         "$and" : [
  179.                             {
  180.                                 "_collectivity" : {
  181.                                     "$eq" : null
  182.                                 }
  183.                             },
  184.                             {
  185.                                 "_type" : {
  186.                                     "$eq" : "healthcare2"
  187.                                 }
  188.                             },
  189.                             {
  190.                                 "active" : {
  191.                                     "$eq" : true
  192.                                 }
  193.                             },
  194.                             {
  195.                                 "enabled" : {
  196.                                     "$eq" : true
  197.                                 }
  198.                             },
  199.                             {
  200.                                 "own_risk" : {
  201.                                     "$eq" : 375.0000000000000000
  202.                                 }
  203.                             },
  204.                             {
  205.                                 "age_to" : {
  206.                                     "$gt" : 36.0000000000000000
  207.                                 }
  208.                             }
  209.                         ]
  210.                     },
  211.                     "inputStage" : {
  212.                         "stage" : "IXSCAN",
  213.                         "keyPattern" : {
  214.                             "age_from" : 1.0000000000000000
  215.                         },
  216.                         "indexName" : "age_from_1",
  217.                         "isMultiKey" : false,
  218.                         "direction" : "forward",
  219.                         "indexBounds" : {
  220.                             "age_from" : [
  221.                                 "[-inf.0, 36.0]"
  222.                             ]
  223.                         }
  224.                     }
  225.                 }
  226.             },
  227.             {
  228.                 "stage" : "KEEP_MUTATIONS",
  229.                 "inputStage" : {
  230.                     "stage" : "FETCH",
  231.                     "filter" : {
  232.                         "$and" : [
  233.                             {
  234.                                 "_collectivity" : {
  235.                                     "$eq" : null
  236.                                 }
  237.                             },
  238.                             {
  239.                                 "_type" : {
  240.                                     "$eq" : "healthcare2"
  241.                                 }
  242.                             },
  243.                             {
  244.                                 "active" : {
  245.                                     "$eq" : true
  246.                                 }
  247.                             },
  248.                             {
  249.                                 "enabled" : {
  250.                                     "$eq" : true
  251.                                 }
  252.                             },
  253.                             {
  254.                                 "age_from" : {
  255.                                     "$lte" : 36.0000000000000000
  256.                                 }
  257.                             },
  258.                             {
  259.                                 "age_to" : {
  260.                                     "$gt" : 36.0000000000000000
  261.                                 }
  262.                             }
  263.                         ]
  264.                     },
  265.                     "inputStage" : {
  266.                         "stage" : "IXSCAN",
  267.                         "keyPattern" : {
  268.                             "own_risk" : 1.0000000000000000
  269.                         },
  270.                         "indexName" : "own_risk_1",
  271.                         "isMultiKey" : false,
  272.                         "direction" : "forward",
  273.                         "indexBounds" : {
  274.                             "own_risk" : [
  275.                                 "[375.0, 375.0]"
  276.                             ]
  277.                         }
  278.                     }
  279.                 }
  280.             },
  281.             {
  282.                 "stage" : "KEEP_MUTATIONS",
  283.                 "inputStage" : {
  284.                     "stage" : "FETCH",
  285.                     "filter" : {
  286.                         "$and" : [
  287.                             {
  288.                                 "_collectivity" : {
  289.                                     "$eq" : null
  290.                                 }
  291.                             },
  292.                             {
  293.                                 "_type" : {
  294.                                     "$eq" : "healthcare2"
  295.                                 }
  296.                             },
  297.                             {
  298.                                 "active" : {
  299.                                     "$eq" : true
  300.                                 }
  301.                             },
  302.                             {
  303.                                 "own_risk" : {
  304.                                     "$eq" : 375.0000000000000000
  305.                                 }
  306.                             },
  307.                             {
  308.                                 "age_from" : {
  309.                                     "$lte" : 36.0000000000000000
  310.                                 }
  311.                             },
  312.                             {
  313.                                 "age_to" : {
  314.                                     "$gt" : 36.0000000000000000
  315.                                 }
  316.                             }
  317.                         ]
  318.                     },
  319.                     "inputStage" : {
  320.                         "stage" : "IXSCAN",
  321.                         "keyPattern" : {
  322.                             "enabled" : 1.0000000000000000
  323.                         },
  324.                         "indexName" : "enabled_1",
  325.                         "isMultiKey" : false,
  326.                         "direction" : "forward",
  327.                         "indexBounds" : {
  328.                             "enabled" : [
  329.                                 "[true, true]"
  330.                             ]
  331.                         }
  332.                     }
  333.                 }
  334.             },
  335.             {
  336.                 "stage" : "KEEP_MUTATIONS",
  337.                 "inputStage" : {
  338.                     "stage" : "FETCH",
  339.                     "filter" : {
  340.                         "$and" : [
  341.                             {
  342.                                 "_collectivity" : {
  343.                                     "$eq" : null
  344.                                 }
  345.                             },
  346.                             {
  347.                                 "_type" : {
  348.                                     "$eq" : "healthcare2"
  349.                                 }
  350.                             },
  351.                             {
  352.                                 "enabled" : {
  353.                                     "$eq" : true
  354.                                 }
  355.                             },
  356.                             {
  357.                                 "own_risk" : {
  358.                                     "$eq" : 375.0000000000000000
  359.                                 }
  360.                             },
  361.                             {
  362.                                 "age_from" : {
  363.                                     "$lte" : 36.0000000000000000
  364.                                 }
  365.                             },
  366.                             {
  367.                                 "age_to" : {
  368.                                     "$gt" : 36.0000000000000000
  369.                                 }
  370.                             }
  371.                         ]
  372.                     },
  373.                     "inputStage" : {
  374.                         "stage" : "IXSCAN",
  375.                         "keyPattern" : {
  376.                             "active" : 1.0000000000000000
  377.                         },
  378.                         "indexName" : "active_1",
  379.                         "isMultiKey" : false,
  380.                         "direction" : "forward",
  381.                         "indexBounds" : {
  382.                             "active" : [
  383.                                 "[true, true]"
  384.                             ]
  385.                         }
  386.                     }
  387.                 }
  388.             },
  389.             {
  390.                 "stage" : "KEEP_MUTATIONS",
  391.                 "inputStage" : {
  392.                     "stage" : "FETCH",
  393.                     "filter" : {
  394.                         "$and" : [
  395.                             {
  396.                                 "_collectivity" : {
  397.                                     "$eq" : null
  398.                                 }
  399.                             },
  400.                             {
  401.                                 "active" : {
  402.                                     "$eq" : true
  403.                                 }
  404.                             },
  405.                             {
  406.                                 "enabled" : {
  407.                                     "$eq" : true
  408.                                 }
  409.                             },
  410.                             {
  411.                                 "own_risk" : {
  412.                                     "$eq" : 375.0000000000000000
  413.                                 }
  414.                             },
  415.                             {
  416.                                 "age_from" : {
  417.                                     "$lte" : 36.0000000000000000
  418.                                 }
  419.                             },
  420.                             {
  421.                                 "age_to" : {
  422.                                     "$gt" : 36.0000000000000000
  423.                                 }
  424.                             }
  425.                         ]
  426.                     },
  427.                     "inputStage" : {
  428.                         "stage" : "IXSCAN",
  429.                         "keyPattern" : {
  430.                             "_type" : 1.0000000000000000
  431.                         },
  432.                         "indexName" : "_type_1",
  433.                         "isMultiKey" : false,
  434.                         "direction" : "forward",
  435.                         "indexBounds" : {
  436.                             "_type" : [
  437.                                 "[\"healthcare2\", \"healthcare2\"]"
  438.                             ]
  439.                         }
  440.                     }
  441.                 }
  442.             }
  443.         ]
  444.     },
  445.     "executionStats" : {
  446.         "executionSuccess" : true,
  447.         "nReturned" : 324,
  448.         "executionTimeMillis" : 28,
  449.         "totalKeysExamined" : 4400,
  450.         "totalDocsExamined" : 4400,
  451.         "executionStages" : {
  452.             "stage" : "KEEP_MUTATIONS",
  453.             "nReturned" : 324,
  454.             "executionTimeMillisEstimate" : 10,
  455.             "works" : 4401,
  456.             "advanced" : 324,
  457.             "needTime" : 4076,
  458.             "needFetch" : 0,
  459.             "saveState" : 96,
  460.             "restoreState" : 96,
  461.             "isEOF" : 1,
  462.             "invalidates" : 0,
  463.             "inputStage" : {
  464.                 "stage" : "FETCH",
  465.                 "filter" : {
  466.                     "$and" : [
  467.                         {
  468.                             "_collectivity" : {
  469.                                 "$eq" : null
  470.                             }
  471.                         },
  472.                         {
  473.                             "_type" : {
  474.                                 "$eq" : "healthcare2"
  475.                             }
  476.                         },
  477.                         {
  478.                             "active" : {
  479.                                 "$eq" : true
  480.                             }
  481.                         },
  482.                         {
  483.                             "enabled" : {
  484.                                 "$eq" : true
  485.                             }
  486.                         },
  487.                         {
  488.                             "own_risk" : {
  489.                                 "$eq" : 375.0000000000000000
  490.                             }
  491.                         },
  492.                         {
  493.                             "age_from" : {
  494.                                 "$lte" : 36.0000000000000000
  495.                             }
  496.                         },
  497.                         {
  498.                             "age_to" : {
  499.                                 "$gt" : 36.0000000000000000
  500.                             }
  501.                         }
  502.                     ]
  503.                 },
  504.                 "nReturned" : 324,
  505.                 "executionTimeMillisEstimate" : 10,
  506.                 "works" : 4401,
  507.                 "advanced" : 324,
  508.                 "needTime" : 4076,
  509.                 "needFetch" : 0,
  510.                 "saveState" : 96,
  511.                 "restoreState" : 96,
  512.                 "isEOF" : 1,
  513.                 "invalidates" : 0,
  514.                 "docsExamined" : 4400,
  515.                 "alreadyHasObj" : 0,
  516.                 "inputStage" : {
  517.                     "stage" : "IXSCAN",
  518.                     "nReturned" : 4400,
  519.                     "executionTimeMillisEstimate" : 10,
  520.                     "works" : 4401,
  521.                     "advanced" : 4400,
  522.                     "needTime" : 0,
  523.                     "needFetch" : 0,
  524.                     "saveState" : 96,
  525.                     "restoreState" : 96,
  526.                     "isEOF" : 1,
  527.                     "invalidates" : 0,
  528.                     "keyPattern" : {
  529.                         "_collectivity" : 1.0000000000000000
  530.                     },
  531.                     "indexName" : "_collectivity_1",
  532.                     "isMultiKey" : true,
  533.                     "direction" : "forward",
  534.                     "indexBounds" : {
  535.                         "_collectivity" : [
  536.                             "[null, null]"
  537.                         ]
  538.                     },
  539.                     "keysExamined" : 4400,
  540.                     "dupsTested" : 4400,
  541.                     "dupsDropped" : 0,
  542.                     "seenInvalidated" : 0,
  543.                     "matchTested" : 0
  544.                 }
  545.             }
  546.         },
  547.         "allPlansExecution" : [
  548.             {
  549.                 "nReturned" : 33,
  550.                 "executionTimeMillisEstimate" : 10,
  551.                 "totalKeysExamined" : 1314,
  552.                 "totalDocsExamined" : 1314,
  553.                 "executionStages" : {
  554.                     "stage" : "KEEP_MUTATIONS",
  555.                     "nReturned" : 33,
  556.                     "executionTimeMillisEstimate" : 10,
  557.                     "works" : 1314,
  558.                     "advanced" : 33,
  559.                     "needTime" : 1281,
  560.                     "needFetch" : 0,
  561.                     "saveState" : 96,
  562.                     "restoreState" : 96,
  563.                     "isEOF" : 0,
  564.                     "invalidates" : 0,
  565.                     "inputStage" : {
  566.                         "stage" : "FETCH",
  567.                         "filter" : {
  568.                             "$and" : [
  569.                                 {
  570.                                     "_collectivity" : {
  571.                                         "$eq" : null
  572.                                     }
  573.                                 },
  574.                                 {
  575.                                     "_type" : {
  576.                                         "$eq" : "healthcare2"
  577.                                     }
  578.                                 },
  579.                                 {
  580.                                     "active" : {
  581.                                         "$eq" : true
  582.                                     }
  583.                                 },
  584.                                 {
  585.                                     "enabled" : {
  586.                                         "$eq" : true
  587.                                     }
  588.                                 },
  589.                                 {
  590.                                     "own_risk" : {
  591.                                         "$eq" : 375.0000000000000000
  592.                                     }
  593.                                 },
  594.                                 {
  595.                                     "age_from" : {
  596.                                         "$lte" : 36.0000000000000000
  597.                                     }
  598.                                 }
  599.                             ]
  600.                         },
  601.                         "nReturned" : 33,
  602.                         "executionTimeMillisEstimate" : 10,
  603.                         "works" : 1314,
  604.                         "advanced" : 33,
  605.                         "needTime" : 1281,
  606.                         "needFetch" : 0,
  607.                         "saveState" : 96,
  608.                         "restoreState" : 96,
  609.                         "isEOF" : 0,
  610.                         "invalidates" : 0,
  611.                         "docsExamined" : 1314,
  612.                         "alreadyHasObj" : 0,
  613.                         "inputStage" : {
  614.                             "stage" : "IXSCAN",
  615.                             "nReturned" : 1314,
  616.                             "executionTimeMillisEstimate" : 0,
  617.                             "works" : 1314,
  618.                             "advanced" : 1314,
  619.                             "needTime" : 0,
  620.                             "needFetch" : 0,
  621.                             "saveState" : 96,
  622.                             "restoreState" : 96,
  623.                             "isEOF" : 0,
  624.                             "invalidates" : 0,
  625.                             "keyPattern" : {
  626.                                 "age_to" : 1.0000000000000000
  627.                             },
  628.                             "indexName" : "age_to_1",
  629.                             "isMultiKey" : false,
  630.                             "direction" : "forward",
  631.                             "indexBounds" : {
  632.                                 "age_to" : [
  633.                                     "(36.0, inf.0]"
  634.                                 ]
  635.                             },
  636.                             "keysExamined" : 1314,
  637.                             "dupsTested" : 0,
  638.                             "dupsDropped" : 0,
  639.                             "seenInvalidated" : 0,
  640.                             "matchTested" : 0
  641.                         }
  642.                     }
  643.                 }
  644.             },
  645.             {
  646.                 "nReturned" : 0,
  647.                 "executionTimeMillisEstimate" : 10,
  648.                 "totalKeysExamined" : 1314,
  649.                 "totalDocsExamined" : 1314,
  650.                 "executionStages" : {
  651.                     "stage" : "KEEP_MUTATIONS",
  652.                     "nReturned" : 0,
  653.                     "executionTimeMillisEstimate" : 10,
  654.                     "works" : 1314,
  655.                     "advanced" : 0,
  656.                     "needTime" : 1314,
  657.                     "needFetch" : 0,
  658.                     "saveState" : 96,
  659.                     "restoreState" : 96,
  660.                     "isEOF" : 0,
  661.                     "invalidates" : 0,
  662.                     "inputStage" : {
  663.                         "stage" : "FETCH",
  664.                         "filter" : {
  665.                             "$and" : [
  666.                                 {
  667.                                     "_collectivity" : {
  668.                                         "$eq" : null
  669.                                     }
  670.                                 },
  671.                                 {
  672.                                     "_type" : {
  673.                                         "$eq" : "healthcare2"
  674.                                     }
  675.                                 },
  676.                                 {
  677.                                     "active" : {
  678.                                         "$eq" : true
  679.                                     }
  680.                                 },
  681.                                 {
  682.                                     "enabled" : {
  683.                                         "$eq" : true
  684.                                     }
  685.                                 },
  686.                                 {
  687.                                     "own_risk" : {
  688.                                         "$eq" : 375.0000000000000000
  689.                                     }
  690.                                 },
  691.                                 {
  692.                                     "age_to" : {
  693.                                         "$gt" : 36.0000000000000000
  694.                                     }
  695.                                 }
  696.                             ]
  697.                         },
  698.                         "nReturned" : 0,
  699.                         "executionTimeMillisEstimate" : 10,
  700.                         "works" : 1314,
  701.                         "advanced" : 0,
  702.                         "needTime" : 1314,
  703.                         "needFetch" : 0,
  704.                         "saveState" : 96,
  705.                         "restoreState" : 96,
  706.                         "isEOF" : 0,
  707.                         "invalidates" : 0,
  708.                         "docsExamined" : 1314,
  709.                         "alreadyHasObj" : 0,
  710.                         "inputStage" : {
  711.                             "stage" : "IXSCAN",
  712.                             "nReturned" : 1314,
  713.                             "executionTimeMillisEstimate" : 0,
  714.                             "works" : 1314,
  715.                             "advanced" : 1314,
  716.                             "needTime" : 0,
  717.                             "needFetch" : 0,
  718.                             "saveState" : 96,
  719.                             "restoreState" : 96,
  720.                             "isEOF" : 0,
  721.                             "invalidates" : 0,
  722.                             "keyPattern" : {
  723.                                 "age_from" : 1.0000000000000000
  724.                             },
  725.                             "indexName" : "age_from_1",
  726.                             "isMultiKey" : false,
  727.                             "direction" : "forward",
  728.                             "indexBounds" : {
  729.                                 "age_from" : [
  730.                                     "[-inf.0, 36.0]"
  731.                                 ]
  732.                             },
  733.                             "keysExamined" : 1314,
  734.                             "dupsTested" : 0,
  735.                             "dupsDropped" : 0,
  736.                             "seenInvalidated" : 0,
  737.                             "matchTested" : 0
  738.                         }
  739.                     }
  740.                 }
  741.             },
  742.             {
  743.                 "nReturned" : 79,
  744.                 "executionTimeMillisEstimate" : 0,
  745.                 "totalKeysExamined" : 1314,
  746.                 "totalDocsExamined" : 1314,
  747.                 "executionStages" : {
  748.                     "stage" : "KEEP_MUTATIONS",
  749.                     "nReturned" : 79,
  750.                     "executionTimeMillisEstimate" : 0,
  751.                     "works" : 1314,
  752.                     "advanced" : 79,
  753.                     "needTime" : 1235,
  754.                     "needFetch" : 0,
  755.                     "saveState" : 96,
  756.                     "restoreState" : 96,
  757.                     "isEOF" : 0,
  758.                     "invalidates" : 0,
  759.                     "inputStage" : {
  760.                         "stage" : "FETCH",
  761.                         "filter" : {
  762.                             "$and" : [
  763.                                 {
  764.                                     "_collectivity" : {
  765.                                         "$eq" : null
  766.                                     }
  767.                                 },
  768.                                 {
  769.                                     "_type" : {
  770.                                         "$eq" : "healthcare2"
  771.                                     }
  772.                                 },
  773.                                 {
  774.                                     "active" : {
  775.                                         "$eq" : true
  776.                                     }
  777.                                 },
  778.                                 {
  779.                                     "enabled" : {
  780.                                         "$eq" : true
  781.                                     }
  782.                                 },
  783.                                 {
  784.                                     "age_from" : {
  785.                                         "$lte" : 36.0000000000000000
  786.                                     }
  787.                                 },
  788.                                 {
  789.                                     "age_to" : {
  790.                                         "$gt" : 36.0000000000000000
  791.                                     }
  792.                                 }
  793.                             ]
  794.                         },
  795.                         "nReturned" : 79,
  796.                         "executionTimeMillisEstimate" : 0,
  797.                         "works" : 1314,
  798.                         "advanced" : 79,
  799.                         "needTime" : 1235,
  800.                         "needFetch" : 0,
  801.                         "saveState" : 96,
  802.                         "restoreState" : 96,
  803.                         "isEOF" : 0,
  804.                         "invalidates" : 0,
  805.                         "docsExamined" : 1314,
  806.                         "alreadyHasObj" : 0,
  807.                         "inputStage" : {
  808.                             "stage" : "IXSCAN",
  809.                             "nReturned" : 1314,
  810.                             "executionTimeMillisEstimate" : 0,
  811.                             "works" : 1314,
  812.                             "advanced" : 1314,
  813.                             "needTime" : 0,
  814.                             "needFetch" : 0,
  815.                             "saveState" : 96,
  816.                             "restoreState" : 96,
  817.                             "isEOF" : 0,
  818.                             "invalidates" : 0,
  819.                             "keyPattern" : {
  820.                                 "own_risk" : 1.0000000000000000
  821.                             },
  822.                             "indexName" : "own_risk_1",
  823.                             "isMultiKey" : false,
  824.                             "direction" : "forward",
  825.                             "indexBounds" : {
  826.                                 "own_risk" : [
  827.                                     "[375.0, 375.0]"
  828.                                 ]
  829.                             },
  830.                             "keysExamined" : 1314,
  831.                             "dupsTested" : 0,
  832.                             "dupsDropped" : 0,
  833.                             "seenInvalidated" : 0,
  834.                             "matchTested" : 0
  835.                         }
  836.                     }
  837.                 }
  838.             },
  839.             {
  840.                 "nReturned" : 17,
  841.                 "executionTimeMillisEstimate" : 0,
  842.                 "totalKeysExamined" : 1314,
  843.                 "totalDocsExamined" : 1314,
  844.                 "executionStages" : {
  845.                     "stage" : "KEEP_MUTATIONS",
  846.                     "nReturned" : 17,
  847.                     "executionTimeMillisEstimate" : 0,
  848.                     "works" : 1314,
  849.                     "advanced" : 17,
  850.                     "needTime" : 1297,
  851.                     "needFetch" : 0,
  852.                     "saveState" : 96,
  853.                     "restoreState" : 96,
  854.                     "isEOF" : 0,
  855.                     "invalidates" : 0,
  856.                     "inputStage" : {
  857.                         "stage" : "FETCH",
  858.                         "filter" : {
  859.                             "$and" : [
  860.                                 {
  861.                                     "_collectivity" : {
  862.                                         "$eq" : null
  863.                                     }
  864.                                 },
  865.                                 {
  866.                                     "_type" : {
  867.                                         "$eq" : "healthcare2"
  868.                                     }
  869.                                 },
  870.                                 {
  871.                                     "active" : {
  872.                                         "$eq" : true
  873.                                     }
  874.                                 },
  875.                                 {
  876.                                     "own_risk" : {
  877.                                         "$eq" : 375.0000000000000000
  878.                                     }
  879.                                 },
  880.                                 {
  881.                                     "age_from" : {
  882.                                         "$lte" : 36.0000000000000000
  883.                                     }
  884.                                 },
  885.                                 {
  886.                                     "age_to" : {
  887.                                         "$gt" : 36.0000000000000000
  888.                                     }
  889.                                 }
  890.                             ]
  891.                         },
  892.                         "nReturned" : 17,
  893.                         "executionTimeMillisEstimate" : 0,
  894.                         "works" : 1314,
  895.                         "advanced" : 17,
  896.                         "needTime" : 1297,
  897.                         "needFetch" : 0,
  898.                         "saveState" : 96,
  899.                         "restoreState" : 96,
  900.                         "isEOF" : 0,
  901.                         "invalidates" : 0,
  902.                         "docsExamined" : 1314,
  903.                         "alreadyHasObj" : 0,
  904.                         "inputStage" : {
  905.                             "stage" : "IXSCAN",
  906.                             "nReturned" : 1314,
  907.                             "executionTimeMillisEstimate" : 0,
  908.                             "works" : 1314,
  909.                             "advanced" : 1314,
  910.                             "needTime" : 0,
  911.                             "needFetch" : 0,
  912.                             "saveState" : 96,
  913.                             "restoreState" : 96,
  914.                             "isEOF" : 0,
  915.                             "invalidates" : 0,
  916.                             "keyPattern" : {
  917.                                 "enabled" : 1.0000000000000000
  918.                             },
  919.                             "indexName" : "enabled_1",
  920.                             "isMultiKey" : false,
  921.                             "direction" : "forward",
  922.                             "indexBounds" : {
  923.                                 "enabled" : [
  924.                                     "[true, true]"
  925.                                 ]
  926.                             },
  927.                             "keysExamined" : 1314,
  928.                             "dupsTested" : 0,
  929.                             "dupsDropped" : 0,
  930.                             "seenInvalidated" : 0,
  931.                             "matchTested" : 0
  932.                         }
  933.                     }
  934.                 }
  935.             },
  936.             {
  937.                 "nReturned" : 17,
  938.                 "executionTimeMillisEstimate" : 0,
  939.                 "totalKeysExamined" : 1314,
  940.                 "totalDocsExamined" : 1314,
  941.                 "executionStages" : {
  942.                     "stage" : "KEEP_MUTATIONS",
  943.                     "nReturned" : 17,
  944.                     "executionTimeMillisEstimate" : 0,
  945.                     "works" : 1314,
  946.                     "advanced" : 17,
  947.                     "needTime" : 1297,
  948.                     "needFetch" : 0,
  949.                     "saveState" : 96,
  950.                     "restoreState" : 96,
  951.                     "isEOF" : 0,
  952.                     "invalidates" : 0,
  953.                     "inputStage" : {
  954.                         "stage" : "FETCH",
  955.                         "filter" : {
  956.                             "$and" : [
  957.                                 {
  958.                                     "_collectivity" : {
  959.                                         "$eq" : null
  960.                                     }
  961.                                 },
  962.                                 {
  963.                                     "_type" : {
  964.                                         "$eq" : "healthcare2"
  965.                                     }
  966.                                 },
  967.                                 {
  968.                                     "enabled" : {
  969.                                         "$eq" : true
  970.                                     }
  971.                                 },
  972.                                 {
  973.                                     "own_risk" : {
  974.                                         "$eq" : 375.0000000000000000
  975.                                     }
  976.                                 },
  977.                                 {
  978.                                     "age_from" : {
  979.                                         "$lte" : 36.0000000000000000
  980.                                     }
  981.                                 },
  982.                                 {
  983.                                     "age_to" : {
  984.                                         "$gt" : 36.0000000000000000
  985.                                     }
  986.                                 }
  987.                             ]
  988.                         },
  989.                         "nReturned" : 17,
  990.                         "executionTimeMillisEstimate" : 0,
  991.                         "works" : 1314,
  992.                         "advanced" : 17,
  993.                         "needTime" : 1297,
  994.                         "needFetch" : 0,
  995.                         "saveState" : 96,
  996.                         "restoreState" : 96,
  997.                         "isEOF" : 0,
  998.                         "invalidates" : 0,
  999.                         "docsExamined" : 1314,
  1000.                         "alreadyHasObj" : 0,
  1001.                         "inputStage" : {
  1002.                             "stage" : "IXSCAN",
  1003.                             "nReturned" : 1314,
  1004.                             "executionTimeMillisEstimate" : 0,
  1005.                             "works" : 1314,
  1006.                             "advanced" : 1314,
  1007.                             "needTime" : 0,
  1008.                             "needFetch" : 0,
  1009.                             "saveState" : 96,
  1010.                             "restoreState" : 96,
  1011.                             "isEOF" : 0,
  1012.                             "invalidates" : 0,
  1013.                             "keyPattern" : {
  1014.                                 "active" : 1.0000000000000000
  1015.                             },
  1016.                             "indexName" : "active_1",
  1017.                             "isMultiKey" : false,
  1018.                             "direction" : "forward",
  1019.                             "indexBounds" : {
  1020.                                 "active" : [
  1021.                                     "[true, true]"
  1022.                                 ]
  1023.                             },
  1024.                             "keysExamined" : 1314,
  1025.                             "dupsTested" : 0,
  1026.                             "dupsDropped" : 0,
  1027.                             "seenInvalidated" : 0,
  1028.                             "matchTested" : 0
  1029.                         }
  1030.                     }
  1031.                 }
  1032.             },
  1033.             {
  1034.                 "nReturned" : 17,
  1035.                 "executionTimeMillisEstimate" : 0,
  1036.                 "totalKeysExamined" : 1314,
  1037.                 "totalDocsExamined" : 1314,
  1038.                 "executionStages" : {
  1039.                     "stage" : "KEEP_MUTATIONS",
  1040.                     "nReturned" : 17,
  1041.                     "executionTimeMillisEstimate" : 0,
  1042.                     "works" : 1314,
  1043.                     "advanced" : 17,
  1044.                     "needTime" : 1297,
  1045.                     "needFetch" : 0,
  1046.                     "saveState" : 96,
  1047.                     "restoreState" : 96,
  1048.                     "isEOF" : 0,
  1049.                     "invalidates" : 0,
  1050.                     "inputStage" : {
  1051.                         "stage" : "FETCH",
  1052.                         "filter" : {
  1053.                             "$and" : [
  1054.                                 {
  1055.                                     "_collectivity" : {
  1056.                                         "$eq" : null
  1057.                                     }
  1058.                                 },
  1059.                                 {
  1060.                                     "active" : {
  1061.                                         "$eq" : true
  1062.                                     }
  1063.                                 },
  1064.                                 {
  1065.                                     "enabled" : {
  1066.                                         "$eq" : true
  1067.                                     }
  1068.                                 },
  1069.                                 {
  1070.                                     "own_risk" : {
  1071.                                         "$eq" : 375.0000000000000000
  1072.                                     }
  1073.                                 },
  1074.                                 {
  1075.                                     "age_from" : {
  1076.                                         "$lte" : 36.0000000000000000
  1077.                                     }
  1078.                                 },
  1079.                                 {
  1080.                                     "age_to" : {
  1081.                                         "$gt" : 36.0000000000000000
  1082.                                     }
  1083.                                 }
  1084.                             ]
  1085.                         },
  1086.                         "nReturned" : 17,
  1087.                         "executionTimeMillisEstimate" : 0,
  1088.                         "works" : 1314,
  1089.                         "advanced" : 17,
  1090.                         "needTime" : 1297,
  1091.                         "needFetch" : 0,
  1092.                         "saveState" : 96,
  1093.                         "restoreState" : 96,
  1094.                         "isEOF" : 0,
  1095.                         "invalidates" : 0,
  1096.                         "docsExamined" : 1314,
  1097.                         "alreadyHasObj" : 0,
  1098.                         "inputStage" : {
  1099.                             "stage" : "IXSCAN",
  1100.                             "nReturned" : 1314,
  1101.                             "executionTimeMillisEstimate" : 0,
  1102.                             "works" : 1314,
  1103.                             "advanced" : 1314,
  1104.                             "needTime" : 0,
  1105.                             "needFetch" : 0,
  1106.                             "saveState" : 96,
  1107.                             "restoreState" : 96,
  1108.                             "isEOF" : 0,
  1109.                             "invalidates" : 0,
  1110.                             "keyPattern" : {
  1111.                                 "_type" : 1.0000000000000000
  1112.                             },
  1113.                             "indexName" : "_type_1",
  1114.                             "isMultiKey" : false,
  1115.                             "direction" : "forward",
  1116.                             "indexBounds" : {
  1117.                                 "_type" : [
  1118.                                     "[\"healthcare2\", \"healthcare2\"]"
  1119.                                 ]
  1120.                             },
  1121.                             "keysExamined" : 1314,
  1122.                             "dupsTested" : 0,
  1123.                             "dupsDropped" : 0,
  1124.                             "seenInvalidated" : 0,
  1125.                             "matchTested" : 0
  1126.                         }
  1127.                     }
  1128.                 }
  1129.             },
  1130.             {
  1131.                 "nReturned" : 101,
  1132.                 "executionTimeMillisEstimate" : 0,
  1133.                 "totalKeysExamined" : 1314,
  1134.                 "totalDocsExamined" : 1314,
  1135.                 "executionStages" : {
  1136.                     "stage" : "KEEP_MUTATIONS",
  1137.                     "nReturned" : 101,
  1138.                     "executionTimeMillisEstimate" : 0,
  1139.                     "works" : 1314,
  1140.                     "advanced" : 101,
  1141.                     "needTime" : 1213,
  1142.                     "needFetch" : 0,
  1143.                     "saveState" : 71,
  1144.                     "restoreState" : 71,
  1145.                     "isEOF" : 0,
  1146.                     "invalidates" : 0,
  1147.                     "inputStage" : {
  1148.                         "stage" : "FETCH",
  1149.                         "filter" : {
  1150.                             "$and" : [
  1151.                                 {
  1152.                                     "_collectivity" : {
  1153.                                         "$eq" : null
  1154.                                     }
  1155.                                 },
  1156.                                 {
  1157.                                     "_type" : {
  1158.                                         "$eq" : "healthcare2"
  1159.                                     }
  1160.                                 },
  1161.                                 {
  1162.                                     "active" : {
  1163.                                         "$eq" : true
  1164.                                     }
  1165.                                 },
  1166.                                 {
  1167.                                     "enabled" : {
  1168.                                         "$eq" : true
  1169.                                     }
  1170.                                 },
  1171.                                 {
  1172.                                     "own_risk" : {
  1173.                                         "$eq" : 375.0000000000000000
  1174.                                     }
  1175.                                 },
  1176.                                 {
  1177.                                     "age_from" : {
  1178.                                         "$lte" : 36.0000000000000000
  1179.                                     }
  1180.                                 },
  1181.                                 {
  1182.                                     "age_to" : {
  1183.                                         "$gt" : 36.0000000000000000
  1184.                                     }
  1185.                                 }
  1186.                             ]
  1187.                         },
  1188.                         "nReturned" : 101,
  1189.                         "executionTimeMillisEstimate" : 0,
  1190.                         "works" : 1314,
  1191.                         "advanced" : 101,
  1192.                         "needTime" : 1213,
  1193.                         "needFetch" : 0,
  1194.                         "saveState" : 71,
  1195.                         "restoreState" : 71,
  1196.                         "isEOF" : 0,
  1197.                         "invalidates" : 0,
  1198.                         "docsExamined" : 1314,
  1199.                         "alreadyHasObj" : 0,
  1200.                         "inputStage" : {
  1201.                             "stage" : "IXSCAN",
  1202.                             "nReturned" : 1314,
  1203.                             "executionTimeMillisEstimate" : 0,
  1204.                             "works" : 1314,
  1205.                             "advanced" : 1314,
  1206.                             "needTime" : 0,
  1207.                             "needFetch" : 0,
  1208.                             "saveState" : 71,
  1209.                             "restoreState" : 71,
  1210.                             "isEOF" : 0,
  1211.                             "invalidates" : 0,
  1212.                             "keyPattern" : {
  1213.                                 "_collectivity" : 1.0000000000000000
  1214.                             },
  1215.                             "indexName" : "_collectivity_1",
  1216.                             "isMultiKey" : true,
  1217.                             "direction" : "forward",
  1218.                             "indexBounds" : {
  1219.                                 "_collectivity" : [
  1220.                                     "[null, null]"
  1221.                                 ]
  1222.                             },
  1223.                             "keysExamined" : 1314,
  1224.                             "dupsTested" : 1314,
  1225.                             "dupsDropped" : 0,
  1226.                             "seenInvalidated" : 0,
  1227.                             "matchTested" : 0
  1228.                         }
  1229.                     }
  1230.                 }
  1231.             }
  1232.         ]
  1233.     },
  1234.     "serverInfo" : {
  1235.         "host" : "komparu",
  1236.         "port" : 27017,
  1237.         "version" : "3.0.4",
  1238.         "gitVersion" : "0481c958daeb2969800511e7475dc66986fa9ed5"
  1239.     }
  1240. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement