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

Expression parameterization input param ID generation is slow for large queries

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

      nextReusableInputParamId linearly searches through all expressions stored so far for duplicates when parameterizing match expressions. This is slow for queries with a large number of predicates under an and/or. This blocks SERVER-62509 from running all stress tests.

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

              Created:
              Updated:
              Resolved: