-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 4.0.10
-
Component/s: Diagnostics, Storage, WiredTiger
-
None
-
Fully Compatible
-
Execution Team 2019-12-16, Execution Team 2019-12-30, Execution Team 2020-01-13, Execution Team 2019-12-30
-
(copied to CRM)
-
50
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"
- related to
-
SERVER-50491 Frequent schema changes due to freeStorageSize limit FTDC retention
- Closed
-
SERVER-55652 dbStats command can fail if an index is bulk loading
- Closed
-
SERVER-50756 add occupied disk size to dbstats
- Closed