-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
The Boolean simplifier always clones MatchExpressions when restoring expressions from their bitset representation. Given that once the simplified MatchExpression is materialized we drop the original one in favour of the simplified one, so we can avoid cloning/copying data, and moved it instead.
We should be careful here and remember that sometimes one node participates more than once in the expression.
- split from
-
SERVER-75079 Simplify boolean expressions before feeding them to the optimizer
- Closed