[DOCS-16389] Investigate changes in SERVER-75754: Consider moving query.planCacheTotalSizeEstimateBytes and query.planCacheTotalQueryShapes into query.planCache sub-document. Created: 19/Sep/23  Updated: 18/Dec/23  Resolved: 14/Nov/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 7.2.0-rc0, Server_Docs_20231120

Type: Task Priority: Minor - P4
Reporter: Backlog - Core Eng Program Management Team Assignee: Alison Huh
Resolution: Fixed Votes: 0
Labels: request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-75754 Consider moving query.planCacheTotalS... Closed
Participants:
Days since reply: 20 weeks, 1 day ago

 Description   
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

Generated at Thu Feb 08 08:15:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.