-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
ALL
-
v8.0, v7.3, v7.0, v6.0
-
QO 2024-07-22
The queryStats backport introduced a projection field that held a ProjectionPathASTNode to serialize projection ASTs. However, this field contributes to a 200-300% regression in parsing aggregation expressions containing $project on large constant arrays. Since the field is no longer used anywhere on master, we can safely remove it to regain performance.
- fixes
-
SERVER-90931 Investigate performance regression in parsing a long constant array as input to $filter
- Closed
- is caused by
-
SERVER-87736 Backport query stats to 6.0
- Closed
-
SERVER-75174 Serialize query shape for DocumentSourceSingleDocumentTransformation
- Closed