Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83196

SBE multiplanning may chooses the wrong plan

    • Query Execution
    • Fully Compatible
    • ALL

      For SBE, we implemented a default limit of 10,000 reads for each candidate plan. This bounds the expense of the trial period cost at 10,000n where n is the number of plans – an important backstop given that we may incidentally trial the “wrong” plan(s) first. However, this limit can be much higher for the Classic multi-planner. As a result, the SBE multi-planner will sometimes do less partial execution than the Classic multi-planner, rendering it unable to distinguish amongst plans when no well-indexed plan exists.

            Assignee:
            ivan.fefer@mongodb.com Ivan Fefer
            Reporter:
            xiaochen.wu@mongodb.com Xiaochen Wu
            Votes:
            1 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: