Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15692

Restore serverStatus.indexCounters section when running with MMAPv1 storage engine

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Index Maintenance, Storage
    • None
    • Fully Compatible

    Description

      Commit 712e4f8063a0e3 removed src/mongo/db/structure/btree/btree_stats.{h,cpp}. These files contained the implementation of the IndexCounters class, which was responsible for generating the "indexCounters" section of serverStatus.

      The implementation used Record::likelyInPhysicalMemory(), which has also been removed, to keep track of the number of the number of times in in-memory index record was used ("hits") as well as the number of times an index record had to be fetched from secondary storage ("misses").

      We should consider restoring this functionality in some form.

      Attachments

        Issue Links

          Activity

            People

              david.storch@mongodb.com David Storch
              david.storch@mongodb.com David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: