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

Expose index statistics for WiredTiger

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc4
    • Component/s: Diagnostics
    • Labels:
      None
    • Backwards Compatibility:
      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

          Issue Links

            Activity

              People

              Assignee:
              milkie Eric Milkie
              Reporter:
              pasette Daniel Pasette
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: