Pick non-multikey index when two indices are interchangeable

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc13
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • v8.0
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      See BF-34028; when pruning interchangeable plans with the same number of fields, we should give preference to those that don't include multikey paths among the [MinKey, MaxKey] fields, so that we don't have to dedup as many record ids.

      Note: Before SERVER-82677, multiplanning would automatically make this choice for us.

            Assignee:
            Alya Berciu
            Reporter:
            Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: