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

Diagnostics Shell Helper diag.checkFragmentation()

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Diagnostics, Shell
    • Labels:
      None
    • Case:

      Description

      This helper function would compare a number of database statistics from db.stats() and output a report highlighting where potential fragmentation might exist. This information could indicate when a repair / compact on a database / collection is necessary.

      The implementation should produce machine readable and useable versions as well as a textual report.

      Motivation:
      The idea is to identify if a database may have fragmentation by applying a number of rules of thumb to the various db.stats() - essentially a quick indicator that fragmentation may exist and that it is appropriate to perform maintenance on the mongod. This is straight forward when dealing with a single host, however suffers when it needs to be scaled up to dozens / hundreds of hosts.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-platform DO NOT USE - Backlog - Platform Team
              Reporter:
              eoin.brazil Eoin Brazil
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: