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

Free transaction snapshot resources on session reset

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      As a followup to WT-4052, it was pointed out that the transaction snapshot array can add up to some significant memory. The array is sized at the max number of sessions the system is sized for, and each element of the array is 8 bytes. MongoDB has session_max=20000, so the burden for each MongoDB session is 160K. If we could free this array on session reset, it should reduce memory footprint for idle sessions. We'd need to find a way to lazily allocate it on first use.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              donald.anderson Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: