Advertisement
Guest User

Live server server find explain

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