-
Type:
Improvement
-
Resolution: Gone away
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The cost estimate for FETCH seems to be identical to the input cardinality plus some small constant. This is totally out of line compared to all the other estimates:
stage: 'FETCH', planNodeId: 3, costEstimate: 1000.1999999999999, cardinalityEstimate: 1000, estimatesMetadata: { ceSource: 'Code' },
The same operator has a correct estimate in CBR. The equivalent COLLSCAN also has a reasonable estimate:
{
stage: 'COLLSCAN',
planNodeId: 2,
costEstimate: 0.36249999999999993,
cardinalityEstimate: 1000,
- is blocked by
-
SERVER-119780 [Join Optimization] Implement buffer aware index scan cost formula
-
- Closed
-
- related to
-
SERVER-120009 Enable Ixscan vs Collscan join costing test
-
- Closed
-