[SERVER-80730] [CQF] Reduce optimization phases for sampling queries Created: 05/Sep/23 Updated: 29/Oct/23 Resolved: 26/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Svilen Mihaylov (Inactive) | Assignee: | Chi-I Huang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | M1, auto-reverted | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | QO 2023-09-18, QO 2023-10-02 | ||||||||
| Participants: | |||||||||
| Description |
|
There are a few optimization phases that can be reduced for sampling queries. For example, ConstEval, PathFuse and MemoExploration. This also allows us to skip rebuilding reference trackers from those phases. |
| Comments |
| Comment by Githook User [ 26/Sep/23 ] |
|
Author: {'name': 'Chi-I Huang', 'email': 'chii.huang@mongodb.com', 'username': 'chiihuang'}Message: SamplingConstEval for now only does beta reduction for LambdaApplication. This allows ABTs to be successfully lowered without going through ConstEvalPost phase. Disable ConstEvalPre, PathFuse, ConstEvalPost and MemoExploration for sampling estimator to avoid rebuilding reference tracker. |
| Comment by xgen-buildbaron-user [ 24/Sep/23 ] |
|
Ticket re-opened due to revert. concurrency_sharded_causal_consistency_and_balancer began a consistent failure of jstests/concurrency/fsm_workloads/view_catalog_cycle_lookup.js |
| Comment by Githook User [ 24/Sep/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit 63273d321ad6a4671f2e305ceccf1da2d1be5994. |
| Comment by Githook User [ 23/Sep/23 ] |
|
Author: {'name': 'Chi-I Huang', 'email': 'chii.huang@mongodb.com', 'username': 'chiihuang'}Message: SamplingConstEval for now only does beta reduction for LambdaApplication. This allows ABTs to be successfully lowered without going through ConstEvalPost phase. Disable ConstEvalPre, PathFuse, ConstEvalPost and MemoExploration for sampling estimator to avoid rebuilding reference tracker. |