-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
One of the things that SERVER-97864 added was the ability to recognize IndexScan -> Fetch plans and estimate the cardinality of the Fetch node using the estimateRIDs function. However, if the fetch does not have a residual filter, then there is no need to sample again, we can just return the estimate for number of RIDs from the child IndexScan.
- related to
-
SERVER-97864 Support sampling of IndexBounds to estimate cardinality of IndexScanNode
- Closed