-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Fully Compatible
-
Execution Team 2020-10-05
There is a need to calculate the amount of occupied disk space a database is consuming. This can be useful when calculating whether a database could be physically moved to a smaller disk size. Currently, only the on-disk file size is reported by dbstats, but this includes unoccupied blocks in files.
To calculate this for WiredTiger, we can use block_reuse_bytes statistic per file, versus block_size.
- causes
-
SERVER-62277 Performance regression from dbstats due to occupied disk space calculation
- Closed
- is related to
-
SERVER-42037 Expose WiredTiger block-manager stats with scale support
- Closed