[SERVER-71188] Track _numsorted, _bytesSorted, and _memUsed in sorter for queries Created: 08/Nov/22  Updated: 29/Oct/23  Resolved: 05/Jan/23

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

Type: Improvement Priority: Major - P3
Reporter: Shin Yee Tan Assignee: Alyssa Clark
Resolution: Fixed Votes: 0
Labels: pm2646-m5
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-67903 Move existing sorter statistics to so... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

As part of SERVER-67903 and SERVER-72328, we report numSorted, bytesSorted, memUsage, and memAllocated to serverStatus. These stats in column store currently populate as 0. We should consider adding tracking for them in column store and reporting them as well in query sorter stats.

We should also remove this TODO.



 Comments   
Comment by Githook User [ 05/Jan/23 ]

Author:

{'name': 'Alyssa Wagenmaker', 'email': 'alyssa.wagenmaker@mongodb.com', 'username': 'awagenmaker'}

Message: SERVER-71188 Track bytesSorted/numSorted for CSI
Branch: master
https://github.com/mongodb/mongo/commit/5e96bca12752e534a918c41f89864c2a6078a1b4

Comment by Steve Tarzia [ 22/Nov/22 ]

We're waiting for the dependent ticket SERVER-67903 to merge.

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