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

Evaluate increasing default close_handle_minimum in WiredTiger

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-10-04, Execution Team 2021-10-18, Execution Team 2021-11-01
    • 3

    Description

      In SERVER-24949 we lowered the WiredTiger "close_idle_time" from 27 hours to 10 minutes. As a result, idle file handles may be closed more aggressively. This may have a performance impact for workloads that have long periods of idle activity, since closing idle handles also clears content from the cache.

      Consider raising the "close_handle_minimum" threshold, which configures the number of file handles to keep open after a successful sweep, up from 250. This would prevent too many file handles from being closed during a sweep, and would be useful for workloads with a large number of collections and indexes. This may also raise the threshold for how long to keep around handles for dropped collections.

      Attachments

        Activity

          People

            josef.ahmad@mongodb.com Josef Ahmad
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: