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

Remove limit and skip values from SBE plan cache key if possible

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.1, 7.3.0-rc0, 7.0.6
    • None
    • None
    • None
    • Fully Compatible
    • v7.2, v7.0
    • QE 2023-11-27, QE 2023-12-11, QE 2023-12-25
    • 135

    Description

      We encode exact limit and skip values as part of cache key in SBE:
      encodeSBE calls encodeFindCommandRequest] that encodes skip and limit values.

      While encodeClassic doesn't do it.

      This may cause plan cache bloat and excessive multi planning in SBE.

      Attachments

        Activity

          People

            ivan.fefer@mongodb.com Ivan Fefer
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: