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

Have the storage engine interface expose a reduced cache footprint read API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.4
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Storage NYC 2018-10-08

      Description

      WT is exposing a cursor configuration such that an application can communicate it's intending to read the data only once. Given that knowledge, WT will change its caching behavior of data paged in via that cursor. The expected use-case is for this behavior is when MongoDB knows a client is performing a table scan for initial sync. It may also be useful for oplog reads when the reader is behind and has to start reading a large amount of data.

      It's not expected that the storage glue layer will have enough information to know when opening a cursor whether it should opt-in to this behavior. This ticket is to expose a public API in the storage layer to allow higher levels declare their "read once" cases.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              louis.williams Louis Williams
              Reporter:
              daniel.gottlieb Daniel Gottlieb
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: