[SERVER-80457] Optimize memory tracker usage for accumulators Created: 28/Aug/23  Updated: 29/Oct/23  Resolved: 03/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Ivan Fefer Assignee: Ivan Fefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-09-04, QE 2023-09-18, QE 2023-10-02, QE 2023-10-16
Participants:
Linked BF Score: 105

 Description   

After SERVER-80149, we saw performance regression in $first/$last and $min/$max accumulators with large number of elements.

We should optimize memory usage tracker for this cases to fix the regression.



 Comments   
Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Ivan Fefer', 'email': 'ivan.fefer@mongodb.com', 'username': 'Fefer-Ivan'}

Message: SERVER-80457 Use SimpleMemoryUsageTracker in window functions and accumulators
Branch: master
https://github.com/mongodb/mongo/commit/e58699b32cf96487d6435d9686ad8f026684f384

Generated at Thu Feb 08 06:43:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.