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

Collect statistics about data size in WiredTiger cache per namespace

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • 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

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            alex.komyagin@mongodb.com Alexander Komyagin
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: