-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
(copied to CRM)
TTL deletes are limited by a single-threaded background task. This can be problematic in very large instances with many TTL indexes and can result in a situation where the TTL monitor cannot keep up with new writes.
Consider redesigning the TTL Monitor to dispatch fix-sized deletion batches to an appropriately-sized thread pool (some constant factor of the number of available cores). This would likely be done in combination with SERVER-56194 to limit the number of deletes per collection and also reduce the interval between TTL passes.
Note that TTL deletes are very impactful on WT, so we should be very careful to evaluate the performance consequences of performing a higher volume of TTL deletions.
- is related to
-
SERVER-56194 Make TTL deletes fair
- Closed
- related to
-
SERVER-87825 Investigate ways to make TTL deletes to keep up with TTL insert rate.
- Investigating