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

Ensure Query Shape is “similar” to the current classic plan cache key in how it groups queries

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

      The same set of queries we should generate a similar amount of plan cache entries.

      Add a workload that shuffles the order of fields in a query.

      Measure the time to sort fields during query shape calculation, for different query complexities.

      Generate queries based on existing $queryStats data and confirm that the number of plan cache entries is comparable before and after the plan cache key change.

            Assignee:
            rui.liu@mongodb.com Rui Liu
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: