[SERVER-68903] Implement SORT_SIMPLE RID optimization in SBE Created: 17/Aug/22  Updated: 30/Sep/22  Resolved: 30/Sep/22

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

Type: Task Priority: Major - P3
Reporter: Mihai Andrei Assignee: Alberto Massari
Resolution: Duplicate Votes: 0
Labels: pm2697-m3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-66511 Improve performance of blocking sort ... Closed
Duplicate
duplicates SERVER-63604 Optimize _shouldProduceRecordIdSlot m... Closed
Sprint: QE 2022-09-19, QE 2022-10-03
Participants:
Story Points: 2

 Description   

The difference between STAGE_SORT_SIMPLE and STAGE_SORT_DEFAULT is that the former does not need to produce a record id. This optimization should be implemented in SBE's buildSort method when translating a SORT_SIMPLE to save on space when performing a blocking sort.



 Comments   
Comment by Alberto Massari [ 30/Sep/22 ]

The work done in SERVER-63604 already takes care of not propagating the recordId slot when it is not requested, regardless of whether the optimizer has suggested STAGE_SORT_SIMPLE or not

Comment by Ana Meza [ 05/Sep/22 ]

Moving from Backlog to Open status since this is assigned to Alberto

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