[SERVER-53461] totalDataSizeGroupedBytesEstimate stats for $group should report total bytes processed Created: 20/Dec/20  Updated: 29/Oct/23  Resolved: 16/Jan/21

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: 4.9.0
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Rishab Joshi (Inactive) Assignee: Rishab Joshi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-48380 Expose total data size in bytes proce... Closed
is related to SERVER-53340 Merge DocumentSourceGroup::MemoryUsag... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2021-01-11, Query 2021-01-25
Participants:

 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.



 Comments   
Comment by Githook User [ 15/Jan/21 ]

Author:

{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com'}

Message: SERVER-53461 totalDataSizeGroupedBytesEstimate stats for $group should report total bytes processed
Branch: master
https://github.com/mongodb/mongo/commit/601e94d2edd7a07ca5dd3a66bf3bebaaf7597b4a

Generated at Thu Feb 08 05:30:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.