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

Investigate changes in SERVER-75754: Consider moving query.planCacheTotalSizeEstimateBytes and query.planCacheTotalQueryShapes into query.planCache sub-document.

      Original Downstream Change Summary

      serverStatus fields:

      metrics.query.planCacheTotalQueryShapes
      metrics.query.planCacheTotalSizeEstimateBytes
      

      moved to

      metrics.query.planCache.totalQueryShapes
      metrics.query.planCache.totalSizeEstimateBytes
      

      Example planCache sub doc:

      "planCache" : {
              "totalQueryShapes" : NumberLong(0),
              "totalSizeEstimateBytes" : NumberLong(0),
              "classic" : {
                      "hits" : NumberLong(0),
                      "misses" : NumberLong(2)
              },
              "sbe" : {
                      "hits" : NumberLong(0),
                      "misses" : NumberLong(0)
              }
      },
      

      Description of Linked Ticket

      In SERVER-70025 we introduced 4 new plan cache counters which are surfaced via query.planCache sub-document.

      We should consider moving all plan cache related counters into the query.planCache sub-document to group them logically together.

      The two which are currently housed in the query document are:

      • query.planCacheTotalSizeEstimateBytes
      • query.planCacheTotalQueryShapes

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

              Created:
              Updated:
              Resolved:
              31 weeks, 4 days ago