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

Collscan benchmarks - implement new Genny benchmarks for complex $in predicates

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • QO 2024-02-05

      • In the new Genny benchmarks for complex predicates include complex mixed expressions where some of the terms are large $in predicates.
      • There should be large $or with same-path equalities that can be reduced to $in.
      • Mixes of $or and $in with duplicates so that the $or equalities are subsumed by the $in-s.
      • Among the DNF/CNF queries with multiple $in-s there should be cases with
      • large $in-s with a lot of duplicates,
      • $in-s that can be optimized away due to other predicates, e.g.
        (a < 100) AND (a IN [200, 250, 300])
      • The idea with both cases above is that in order to truly reduce the query, it is necessary to know the contents of the $in, which will be problematic if the $in is parameterized.

            Assignee:
            henri.nikku@mongodb.com Henri Nikku
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: