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

Consider refactoring how we dedupe index bounds in SBE INLJ

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • 5

      Currently, the plan produces an ArraySet with local key values, including arrays, unwinds it and then creates an index bound for each unique value and possibly for the first element of each array. The latter might create a duplicated index seek and we avoid it by filtering this branch out in case of key value duplication. This is brittle and probably not the most efficient way. We should consider refactoring the plan to have more robust deduplication of index bounds.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: