[SERVER-80735] [CQF] Lazy simplification Created: 05/Sep/23 Updated: 16/Jan/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Svilen Mihaylov (Inactive) | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | M9 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Query Optimization
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Currently the optimizer uses an aggressive simplification strategy for its interval and PSR expressions. Consider the following workflow:
Pros and cons:
Proposal: lazy simplification.
* Do not simplify expressions as they are translated from filter/eval nodes (just combine with a conjunction/disjunction node). Thus the expressions may no longer be in DNF/CNF.
|