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

Consider PathArr simplification for partial index accesses

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization

      PathArr simplification in Bonsai checks for opportunities to utilize multikey-ness metadata to simplify path requirements. This process requires correct initialization of a pathToInterval function. The default initialization value for this function is an empty function. 

      When the function is not explicitly initialized, which when checking for partial index accesses, the optimizer will forego PathArr simplification. 

      This ticket should study the importance of this optimization in corner cases and address accordingly.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            matt.olma@mongodb.com Matt Olma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: