Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92147

Pick non-multikey index when two indices are interchangeable

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Alya Berciu
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: