-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Compaction
-
None
-
Storage Engines
-
3
-
2024-01-09 - I Grew Tired
Compaction proceeds if the two criteria are met:
- The file size is greater than 1MB
- The number of available bytes is greater than the specified target
However, before checking those two conditions, an initial system-wide checkpoint is taken. Even though this checkpoint may help to pass the aforementioned criteria, this can be overkill and lead to perf impacts, especially with background compaction that is reviewing each file periodically.
What needs to be done:
- Skip the initial checkpoint if the code is executed by the background compaction thread.
- Update any relevant documentation in the file.
- Make sure the existing background compaction tests are not impacted or update them if needed.
- has to be done before
-
WT-12136 Investigate if foreground compaction can skip the first compact checkpoint
- Backlog
- related to
-
SERVER-80124 Measure performance impact of background compaction
- Closed