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

Add new API allowing changing dhandle hash bucket size

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sue.loverso Susan LoVerso
              Reporter:
              sue.loverso Susan LoVerso
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: