This is a known issue that pertains to sort implementation in SBE. The new plan cache cannot help here.
Relevant microbenchmarks:
- Queries.NonCoveredBlockingSortWithIndexToSupportSort -19.74%
- Queries.CoveredBlockingSort -23.30%
- depends on
-
SERVER-68903 Implement SORT_SIMPLE RID optimization in SBE
- Closed
-
SERVER-68432 Improve SBE plan for SORT->IXSCAN
- Closed
-
SERVER-68471 Omit ProjectStage when possible in makeRecursiveBranchForGenericIndexScan()
- Closed