Remove redundant cache_read and cache_pages_requested stats

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Minor - P4
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Cache and Eviction
    • Security Level: Public (Available to anyone on the web)
    • None
    • Storage Engines - Transactions
    • 1,837.39
    • SE Transactions - 2026-05-08
    • 2

      The cache_read and cache_pages_requested connection statistics are now redundant:

      • cache_read ("pages read into cache") is fully covered by cache_read_leaf + cache_read_internal.
      • cache_pages_requested ("pages requested from the cache") is fully covered by cache_pages_requested_leaf + cache_pages_requested_internal.

      Since the leaf and internal breakdowns exist and are tracked separately, the aggregate stats add no information and increase maintenance surface.

      Work

      • Remove cache_read and cache_pages_requested from dist/stat_data.py.
      • Regenerate src/include/stat.h, src/support/stat.c, and the public API stat defines by running python dist/stat.py.
      • Remove any references to the two stats from C source, Python tests, and documentation.

            Assignee:
            Haribabu Kommi
            Reporter:
            Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: