Add a parameter to disable query system optimizations for testing

XMLWordPrintableJSON

    • Query Optimization
    • Query 2018-01-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The query system performs a number of distinct optimization steps in order to choose an efficient plan for a query:

      • Optimizing any match expressions via MatchExpression::optimize().
      • Optimizing any expressions via Expression::optimize().
      • Optimizing an aggregation pipeline via Pipeline::optimize().
      • Generating indexed plans for a query.

      All such optimization steps should improve the run time of the query without actually impacting its behavior. In order to test that optimizations are correct, we should introduce an internal configuration parameter that disables them. This will allow us to build testing infrastructure that compares a server configured with optimizations disabled to a server with optimizations enabled.

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: