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

Free transaction snapshot resources on session reset

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: