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

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

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

      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.

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

              Created:
              Updated:
              Resolved: