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

Log which engine was used for processing a query

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0, 5.2.1
    • Affects Version/s: None
    • Component/s: None
    • Minor Change
    • v5.2, v5.1
    • QE 2021-11-01, QE 2021-11-15, QE 2021-11-29, QE 2021-12-13, QE 2021-12-27, QE 2022-01-10, QE 2022-02-07, QE 2022-01-24

      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)

            jennifer.peshansky@mongodb.com Jennifer Peshansky (Inactive)
            pawel.terlecki@mongodb.com Pawel Terlecki (Inactive)
            0 Vote for this issue
            10 Start watching this issue