-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
ALL
-
QE 2023-06-26
{"t":\{"$date":"2023-06-14T20:44:38.165+08:00"}
,"s":"D2", "c":"QUERY", "id":20961, "ctx":"conn149","msg":"Score formula","attr":{"formula":"score(1.5002) = baseScore(1) + productivity_((1 advances)/(1 numReads) = 0.5)_ + tieBreakers(0 noFetchBonus + 0.0001 noSortBonus + 0.0001 noIxisectBonus = 0.00020000000000000001)"}}
1/1=0.5,it is wrong。In fact, it is (0 + 1) / (1 + 1) = 0.5
in calculateProductivity func, add 1 to both the numerator and denominator, So we need to keep the results consistent
- is related to
-
SERVER-63641 Improve SBE multi-planning by choosing which plan to work next based on a priority metric
- Closed