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

Expose index statistics for WiredTiger

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc4
    • None
    • Diagnostics
    • None
    • Minor Change

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: