-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
As part of PM-412, we agreed to compute QueryShape (and its hash) for every query, apart from IDHACK. This work will be done in SERVER-87018.
Before this, we first were checking if QueryStatsKey has already been computed and if so, use it to compute the QueryShapeHash.
Now that QueryShape and its hash will be always computed, the check has to be done by the $queryStats prior to query registration. This would also imply that query settings lookup has to be perform before query registration by the $queryStats in order to take advantage of this.
Since additional computation will be done for all queries (apart from IDHACK) and the possible regressions will be fixed before 8.0 release, work done in SERVER-87018 could lower the impact of $queryStats being enabled and potentially lead to increasing the sampling rate if desiredÂ
- depends on
-
SERVER-87019 Always calculate the query shape hash
- Closed