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

[SBE] Add query knob to limit maximum number of statically generated index scan intervals

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2020-07-13, Query 2020-07-27

      As an optimization, SBE decomposes index bounds into a list of statically known intervals when possible. However, this list of intervals could grow large (there's a combinatoric effect). Therefore, we should add a configurable query knob which limits the maximum number of intervals. If this limit is exceeded, we should fall back to the non-optimized SBE plan which uses the IndexBoundsChecker to compute seek points dynamically.

            Assignee:
            andrii.dobroshynskyi@mongodb.com Andrii Dobroshynskyi (Inactive)
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: