Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
4.9.0
-
None
-
Fully Compatible
-
ALL
-
Query 2021-01-11, Query 2021-01-25
Description
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.
Attachments
Issue Links
- 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
-