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

Expose index statistics for WiredTiger

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc4
    • Affects Version/s: None
    • Component/s: Diagnostics
    • None
    • Minor Change

      Currently, the only way to expose WT index statistics is by calling db.col.validate({full:true}), which is an expensive way to get a cheap set of stats.

      Plan: extend collStats to produce index stats for each index. These will be added to the custom section of collStats output, so this output will only be valid for WiredTiger collections.
      As part of this extension, we will need to remove collStats privilege from read role.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: