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

Consider refactoring how we dedupe index bounds in SBE INLJ

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Query Execution
    • 5

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: