Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6598

Add new API allowing changing dhandle hash bucket size

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.2, 4.7.0, 4.2.10, 4.0.21
    • Affects Version/s: None
    • Component/s: None
    • None
    • v4.4, v4.2, v4.0

      Follow-on from WT-6421. Even though I was not able to see any difference in checkpoint time and schema lock time held changing the number of hash buckets, there is desire for people to try out various values. This ticket is to add an API to change that setting.

      There is a direct tradeoff to changing the hash bucket size, which is an increase in memory consumed. There are many structures that use hash bucket arrays.

      I believe this ticket should split the hash buckets into two. One specifically sizing the dhandle hash buckets (used in the connection and each session) and another general sizing for all other hash buckets to help mitigate the memory consumption.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: