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

Collscan benchmarks - run tests on collections of small sizes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QO 2023-12-25

      For tests over 1M document collection add versions of the queries for smaller collection sizes (100 and 10K documents).

       

      We have wide $and and $or queries with many terms on a single level. In Genny:

      MatchOrWithManyChildClausesTemplate: runs $or with 50, 100, and 200 clauses, 1M documents.

      MatchAndWithManyChildClausesTemplate: runs $and with 50, 100, and 200 terms over the same array field, equalities, 1M documents.

      There are few queries with DNF and mixed predicates, up to 3 levels, 1M documents:

      MatchExpressionDeepPredicate

      MatchExpressionMixedPredicate

      Recently MatchWithLargeExpression added DNF queries with 2 levels and up to 50000 clauses, 10 documents.

       

      There are several queries with $elemMatch:

      MatchElemMatchObject: $or with 4 terms, 1M documents

      MatchElemMatchObjectWide: $or with 28 terms, 1M documents

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

              Created:
              Updated:
              Resolved: