-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
internalQuerySamplingBySequentialScan, which is used exclusively for testing, takes the first N documents from the collection in order to build the sample, with means that the sample is skewed.
Instead, take every M-th document so that you still end up with N documents in the sample, but taken at intervals over the entire collection.
This will undoubtedly introduce a performance hit, but this flag is only used for testing purposes.
- is related to
-
SERVER-123925 Join optimization: cardinality estimate for join is off by 10^2 (overestimation)
-
- In Code Review
-
- related to
-
SERVER-127789 Shuffle TPC-H dataset used in tests
-
- Closed
-
-
SERVER-125909 Increase sample size in join tests for better plans
-
- Closed
-
-
SERVER-127873 CBR testing: Make internalQuerySamplingBySequentialScan more representative
-
- Closed
-