-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently the sampling CE module has been creating a vector of BSONObj that keep all fields of the underlying collection.
To improve performance of MatchExpression evaluation for sampling CE, this ticket will reduce the size of the created BSONObjs in the sample by projecting out a set of fields.
This requires injecting one more stage in the SBE query generating the sample.