Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15553

Investigate changes in SERVER-62760: Add information to query log line indicating when the new optimizer is used

      Original Downstream Change Summary

      1. Rename the `queryExecutionEngine` field to `queryFramework` in the $serverStatus output, the slow query log, and the system.profile entries.

      2. Add an additional possible value ("cqf") for the `queryFramework` field.

      This change will be backported to 6.0.

      Description of Linked Ticket

      null

      FROM DOCS-15061

      NOTE: DOCS-15061 has been closed and instead combined with DOCS-15553

      Related to SERVER-60848

      Downstream Change Summary

      This patch makes changes to the slow query log line as well as the serverStatus counters. It also changes the system.profile collection, which will have identical fields to the new slow query log line. This change will also be backported to 5.2.

      Description of Linked Ticket

      Add a field that indicates whether we used classic or SBE for a query. We should backport it to 5.1. At the least we want to see how many queries are exposed to SBE.

      Worth considering:

      • just logging a field if the less common case happens (e.g. "sbe")
      • should we use the same field in the future for the optimizer (e.g. "sbe" (executed with sbe) / "cqf" (optimized and executed with cqf)

            Assignee:
            alison.huh@mongodb.com Alison Huh
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 18 weeks, 4 days ago