[SERVER-48473] [SBE] Add query knob to limit maximum number of statically generated index scan intervals Created: 28/May/20 Updated: 29/Oct/23 Resolved: 22/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | Andrii Dobroshynskyi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2020-07-13, Query 2020-07-27 |
| Participants: |
| Description |
|
As an optimization, SBE decomposes index bounds into a list of statically known intervals when possible. However, this list of intervals could grow large (there's a combinatoric effect). Therefore, we should add a configurable query knob which limits the maximum number of intervals. If this limit is exceeded, we should fall back to the non-optimized SBE plan which uses the IndexBoundsChecker to compute seek points dynamically. |
| Comments |
| Comment by Githook User [ 22/Jul/20 ] |
|
Author: {'name': 'Andrii Dobroshynskyi', 'email': 'andrii.dobroshynskyi@mongodb.com'}Message: |