[SERVER-71529] Add serverStatus metric for classic and SBE plan cache size Created: 21/Nov/22  Updated: 29/Oct/23  Resolved: 24/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.2.0-rc1
Fix Version/s: 6.2.0-rc2, 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Colby Ing Assignee: Maddie Zechar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.2
Participants:

 Description   

Motivation:

In order to help the Cloud InTel team estimate the load of query shapes to ingest for CLOUDP-120670 Collect Abstracted Query Analytics, we want to be able to estimate the number of query shapes. 

Exposing the plan cache size in serverStatus is a low-cost way of getting a rough estimate of the # of query shapes customers run.



 Comments   
Comment by Githook User [ 24/Nov/22 ]

Author:

{'name': 'Maddie Zechar', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}

Message: SERVER-71529 Add serverStatus metric for classic and SBE plan cache size
Branch: v6.2
https://github.com/mongodb/mongo/commit/b75695e4e1d1b07c545f82ed31663dac248202cb

Comment by Githook User [ 23/Nov/22 ]

Author:

{'name': 'Maddie Zechar', 'email': 'mez2113@columbia.edu', 'username': 'madelinezec'}

Message: SERVER-71529 Add serverStatus metric for classic and SBE plan cache size
Branch: master
https://github.com/mongodb/mongo/commit/b02f52cf8a5b4068af003991466c1f2b05d0a711

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