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

Add statistic tracking accumulated dirty cache

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.5, 4.1.6, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 3
    • Storage Engines 2018-11-19

      At the moment there is no way to know how much dirty content has been created in cache. We track the amount of currently dirty content, and statistics about writing that dirty content out, but connecting them is inaccurate and hard.

      The new statistic could increment a variable in __wt_cache_dirty_incr, similarly to the current WT_CACHE::bytes_dirty_leaf value. That could either be incremented directly into a statistic, or incremented in a new field in the cache and copied across during statistics gathering.

            Assignee:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: