[DOCS-13334] Investigate changes in SERVER-42037: Expose WiredTiger block-manager stats with scale support Created: 10/Jan/20  Updated: 13/Nov/23  Resolved: 06/Mar/20

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 4.3.3, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-administration
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-42037 Expose WiredTiger block-manager stats... Closed
Participants:
Days since reply: 3 years, 48 weeks, 6 days ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

Added freeStorageSize field to db.collection.stats() output.
freeStorageSize = file bytes available for reuse. Currently only outputted for wiredTiger collections.

Description of Linked Ticket

Presently the commands db.stats() and db.collection.stats() both accept scale parameters. The WiredTiger stats reported by db.collection.stats() are hard coded by description and value to denote units in bytes only.

This request is to expose some WiredTiger statistics by mapping them directly into a db.collection.stats() method to support the scale option.

Notably the WiredTiger "block-manager" stats of interest (but not limited to):

  • db.collection.stats( { scale: 1 }).storageSize maps to "wiredTiger"."block-manager"."file size in bytes"
  • db.collection.stats( { scale: 1 }).freeListSize maps to "wiredTiger"."block-manager"."file bytes available for reuse"

 

 

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 06/Mar/20 ]

Author:

{'username': 'kay-kim', 'name': 'Kay Kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13334: 4.4 freeStorageSize in collStats
Branch: master
https://github.com/mongodb/docs/commit/f80f8e84b7ffeedb7fb9178338b45a87896b8d25

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