Fix cache miss derived statistic in t2

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Statistics
    • None
    • Storage Engines - Transactions
    • 386.509
    • SE Transactions - 2026-06-05
    • 3

      WT-17295 removed the the cache_read and cache_pages_requests statistics because we now track these stats separately for internal and leaf pages and can add those numbers to get the totals if needed.

      As a side effect of this change, we no longer get the "cache miss rate" statistic in t2, which was derived from the two removed statistics.

      Since that statistic is rather useful in performance analysis we should fix this situation.

      I suggest creating new derived stats in t2 for total pages read into the cache and total pages requested from the cache (summing the new stats for leaf and internal pages) and use them to compute the miss rate.

      But we could also revert WT-17295, or just change how the "cache miss rate" statistic is computed in t2.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: