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

Provide the ability for queries to "hint" and use a particular Query Engine

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

      MongoDB version 5.X+ introduced the new Slot Based Execution (SBE) query engine. At the same time, the Classic Query Engine is available as well. This is a feature request to introduce a functionality that will allow users to "hint" and use a particular Query Engine while running a query. The benefits of this will be:

      • It will provide the ability to compare/investigate the performance difference for queries while using either query engine, in real-time.
      • It would make it unnecessary to "switch" the entire query engine (by enabling/disabling SBE) for all the queries, just to compare/investigate the query performance difference with the 2 engines for a small subset of queries.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            harshad.dhavale@mongodb.com Harshad Dhavale
            Votes:
            3 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: