-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Compaction
-
Storage Engines
-
8
-
StorEng - Defined Pipeline, 2024-02-20_A_near-death_puffin, 2024-03-05 - Claronald
Compaction can trigger eviction as it may generate enough dirty content that eviction needs to kick in to evict it.
In SERVER-80124, we have observed scenarios where compaction, eviction and checkpoint are blocking each other:
- Compaction generates dirty content from the table it is compacting, enough for eviction to be triggered
- Checkpoint processes that same table
- Eviction needs to remove the dirty content but cannot as checkpoint is running on the table, see this check.
One idea here is to limit the pressure from background compaction on the system by checking the eviction strategy. If the strategy corresponds to WT_CACHE_EVICT_DIRTY_HARD, it would be better to stop background compaction until the cache is in a better state.
- duplicates
-
WT-13080 Pause background compaction if we are under cache pressure
- Closed
- related to
-
SERVER-80124 Measure performance impact of background compaction
- Closed