-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
ALL
-
QO 2025-02-17
-
None
-
None
-
None
-
None
-
None
-
None
-
None
# input size = 1 , estimate is 0.00009999999999976694 var explain = db.foo.find({a:1}).sort({a: 1}).limit(1).hint({$natural: 1}).explain('executionStats'); explain.executionStats.executionStages.costEstimate - explain.executionStats.executionStages.inputStage.costEstimate; # input size = 10K, estimate is still 0.00009999999999976694 var explain = db.foo.find().sort({a: 1}).limit(1).hint({$natural: 1}).explain('executionStats'); explain.executionStats.executionStages.costEstimate - explain.executionStats.executionStages.inputStage.costEstimate;
- duplicates
-
SERVER-100648 Cost of SORT-LIMIT(1) should be consistent with SORT-LIMIT(2)
-
- Closed
-
- related to
-
SERVER-111206 Complete TODO listed in SERVER-100648
-
- Closed
-