-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Block Manager, Statistics
-
None
-
Storage Engines - Persistence
-
5,771.458
-
StorEng - Defined Pipeline
-
None
We don't have visibility on the disk fragmentation for a given file. On way to get there is to use the following formula defined in WT-16684:
FI = (1 - (1 / N)) * (Total Free Space / Total File Size) * 100
(Where 'N' is the total number of free extents in the file).
We want to get N through stats for the alloc and avail extent lists.
The work is to create the relevant stats so we can observe N in the FTDC and update logs so we have the number of extent lists and the fragmentation ratio.
- is related to
-
WT-16684 Investigate how to get observable metrics from the fleet regarding disk fragmentation
-
- Open
-
- related to
-
WT-18826 Optimize first-fit block allocation from O(n) avail-list linear scan to O(buckets) by-size lookup to eliminate live_lock contention during compaction
-
- Open
-
-
WT-14115 Add a checkpoint statistic to count the number of files with the free space on the file is more than 50% of the entire file
-
- Closed
-