Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-589

show cache utilization in mongostat

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc7
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2015-01 Iteration

      We could add a screen for cache which tracks:
      • db.serverStatus().wiredTiger.cache["bytes currently in the cache"]
      • db.serverStatus().wiredTiger.cache["maximum bytes configured"]
      And could maybe this to show rate at which cache is dirtied:
      db.serverStatus().wiredTiger.cache["tracked dirty bytes in the cache"]

      so, you just calc the % from that,
      maximum bytes configured, two percentages, "% dirty" and "% used", dirty will fluctuate, used should just grow til max.

            Assignee:
            mikeo@mongodb.com Michael O'Brien
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: