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

Collect statistics about data size in WiredTiger cache per namespace

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      In order to assist our users with WT cache sizing, we need a way to gather information about memory pages currently in the cache, specifically which namespaces/indexes they belong to and their size, so that a working set estimation can be performed, e.g.:

      "test.test" : {
      cached_pages: 54
      cached_size: 23456
      },
      "test.test._id_" : {
       cached_pages: 5
       cached_size: 1234
      }
      

      This statistic can be approximate and I think it only needs to be executed ad-hoc, but it must not noticeably disrupt ongoing database operations.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-storage Backlog - Storage NY Team
                Reporter:
                alex.komyagin Alex Komyagin
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: