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

Add a new stat for how many times a page fails to be evicted before it is successfully evicted

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Statistics
    • Storage Engines
    • 5
    • StorEng - 2025-03-28

      See WT-13672 for additional context

      This ticket adds a new stat that reports how many times eviction workers attempted to a evict a page before they were successful.

      This will likely require a new field on the WT_PAGE, or some tracking logic in the evict module. We don't need to know which page required X eviction attempts, just the maximum value for any page evicted during a certain time period. Similar to WT-14273 we can use "maximum page size seen at eviction" as an existing example for how the stat should be tracked.

      This stat should be increment each time eviction is attempted, and reported then cleared each time eviction is successful

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: