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

Discrepancy in cache stats with WiredTiger

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5

      This is realated to the following discussion in the forum

      https://groups.google.com/forum/#!topic/mongodb-dev/IMhn83pLbtI

       
      The bytes currently in cache is more than bytes read into the cache. This sometimes is even more than the collection or index size.
       
      "cache" : {
                                      "bytes currently in the cache" : 111408914,
                                      "bytes read into cache" : 73171386,
      To reproducethe issue i have included a simple program and the data together with the mongo config here.

      https://drive.google.com/open?id=1dAQNaFIkG9LwNXD23C-OPX6ojqAYg72a

       

      As the results suggest the bytes currently in cache is more than the total index size. around 20%.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            Moditha Moditha
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: