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

Add a parameter to disable query system optimizations for testing

    XMLWordPrintableJSON

Details

    • Query Optimization
    • Query 2018-01-29

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: