[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: SERVER-48473 Query knob for SBE to limit max number of statically generated index scan intervals
Branch: master
https://github.com/mongodb/mongo/commit/d2df671032c1822ac1daef2c2cfc306c9314b21c

Generated at Thu Feb 08 05:17:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.