[COMPASS-6144] Investigate changes in SERVER-67703: Report sorter stats for queries in serverStatus Created: 16/Sep/22  Updated: 19/Sep/22  Resolved: 19/Sep/22

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-67703 Report sorter stats for queries in se... Closed
Documentation Changes: Not Needed

 Description   
Original Downstream Change Summary

Added following fields to serverStatus:
metrics.query.sort.spillToDisk: The total number of spills to disk from sort stages
metrics.query.sort.totalKeysSorted: The number of keys that we've sorted.
metrics.query.sort.totalBytesSorted: The amount of data we've sorted in bytes

Description of Linked Ticket

In SERVER-60455 we expose sorter stats for index builds in server status. Query seems to already track sorter spills so it would be useful to report it for queries in server status as well.



 Comments   
Comment by Anna Henningsen [ 19/Sep/22 ]

No Impact

Generated at Wed Feb 07 22:42:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.