-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.9.0
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
-
ALL
-
Query 2021-01-11, Query 2021-01-25
Execution stat totalDataSizeGroupedBytesEstimate for $group stage reports the memory usage and not the total output bytes processed by $group pipeline.
The stat is misleading in a sense that the actual data processed by $group stage will come out to be less when some data has been spilled to disk.
In this ticket, we should fix this.
- is related to
-
SERVER-53340 Merge DocumentSourceGroup::MemoryUsageTracker with GroupStats
- Closed
- related to
-
SERVER-48380 Expose total data size in bytes processed by $sort and $group in agg execution stats explain
- Closed