[SERVER-13359] Diagnostics Shell Helper diag.checkFragmentation() Created: 26/Mar/14  Updated: 29/Jun/20  Resolved: 29/Jun/20

Status: Closed
Project: Core Server
Component/s: Diagnostics, Shell
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: Eoin Brazil Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-11041 Index Diagnostic Shell Helper - diag.... Open
Participants:
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.



 Comments   
Comment by Jessica Sigafoos [ 29/Jun/20 ]

We are not prioritizing this functionality in the new shell at this time.  If it comes up again in the future, please file a new request in User Voice.

Generated at Thu Feb 08 03:31:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.