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

Include SBE plan cache as part of cache size metric

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Code Review
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Sprint:
      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

      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

          Issue Links

            Activity

              People

              Assignee:
              joshua.lapacik Joshua Lapacik
              Reporter:
              joshua.lapacik Joshua Lapacik
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: