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

Collect statistics about data size in WiredTiger cache per namespace

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: