Update definition of maxWorks in QO Architecture Guide

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The QO Architecture Guide currently refers to maxWorks as some value around ~10K. This is true for "small" collections, but the value is actually defined as:

      max(10K, 0.3 * collection_size)
      

      This should be updated for greater specificity with internalQueryPlanEvaluationWorks and internalQueryPlanEvaluationCollFraction.

      https://github.com/10gen/mongo/blob/e60552830a722dc52422f39bf6be407933934392/src/mongo/db/exec/trial_period_utils.cpp#L44-L55

            Assignee:
            Daniel Segel
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: