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

Parameterize SBE plan cache for clustered collection scans and enable caching

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible

    Description

      The CollectionScanNode members minRecord and maxRecord are currently not parameterized in the SBE plan cache, therefore initial support for clustered collection scans in SBE (SERVER-74521) had to disable caching of these plans, else when a cached plan gets reused it scans the original range instead of the range specified in the current query.

      This ticket is to add SBE plan cache parameterization of these members and enable caching of the plans. The result should be the current query's range bounds get substituted into the cached plan at runtime.

      Attachments

        Activity

          People

            kevin.cherkauer@mongodb.com Kevin Cherkauer
            kevin.cherkauer@mongodb.com Kevin Cherkauer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: