-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
ALL
-
QO 2023-06-12, QO 2023-06-26
-
35
In the budget estimator for the PartitionedCache we just use a simple sizeof(TelemetryMetrics), but the type now has a BSONObj cmdObj which is not a simple type you can use 'sizeof' to correctly size. The same is true of the NamespaceString (uses a string buffer) and application name, since std::strings are variable size as well. We should include the size of this object (or whatever takes its place in SERVER-76330) to be sure we are properly accounting for memory used.
Also related to SERVER-76526 - right now that BSONObj is left out of this computation as well.
- is depended on by
-
SERVER-85055 Tracking: M1 Performance improvement ideas
- Closed
-
SERVER-85099 Tracking: Milestone 1
- Closed
-
SERVER-85105 Tracking: PM-2885 Milestone 0
- Closed
- is related to
-
SERVER-76330 Use representative query shape in query stats store (aggregate command)
- Closed
-
SERVER-76526 Remove cached redacted query from TelemetryMetrics
- Closed
- related to
-
SERVER-77567 Cap memory size of query stats store partitions
- Closed