Make groupByDistinctBonus formula even more conservative

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The heuristic by which we assign a bonus to productive index scans when multiplanned together with distinct scans is too permissive. On a large collection, we see an idnex scan prioritized when we shouldn't. We should update the formula to strongly favor distinct scans except if the benefit of an index scan is overwhelming.

            Assignee:
            Naafiyan Ahmed
            Reporter:
            Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: