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

Include SBE plan cache as part of cache size metric

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2021-11-01, QO 2021-11-15, QO 2021-11-29, QO 2021-12-13, QO 2021-12-27, QO 2022-01-10, QO 2022-01-24, QO 2022-02-07

    Description

      Right now the server metric `query.planCacheTotalSizeEstimateBytes` refers to the classic plan cache. We need to update this metric when we introduce the SBE plan cache.

      Three options proposed by david.storch:

      1. Make this metric reflect the sum of the sizes of the classic plan caches and the SBE plan cache.
      2. Make this metric reflect the size of the classic plan caches only, omitting the size of the SBE plan cache.
      3. Make this metric reflect the size of the classic plan caches only, and introduce a new metric indicating the size of the SBE plan cache.

      Attachments

        Activity

          People

            alexander.ignatyev@mongodb.com Alexander Ignatyev
            joshua.lapacik@mongodb.com Joshua Lapacik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: