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

add option to limit WiredTiger cursor cache size

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.14, 3.6.4, 3.7.3
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6, v3.4
    • Sprint:
      Storage 2018-02-26
    • Case:

      Description

      This change introduces a new setParameter wiredTigerCursorCacheSize with a default value of 10,000.

      When this is set to 0, caching of WiredTiger cursors is disabled. There is an expected and slight performance degradation from the loss of the cache, but resource usage will be lower because we are not keeping as many cursors open at once. This parameter can be safely set at runtime without requiring a restart of the server.

      This will speed up dropDatabase, collection drop, and other operations.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: