The capped collection implementation in WiredTiger starts doing a cursor truncate once collections reach the configured maximum size. That's efficient if we are removing ranges of data, but not if only removing a few data items.
We should review the implementation to see if we can improve the performance of capped collections with WiredTiger.
Some work was done on this in SERVER-32424.
- depends on
-
SERVER-32424 Use WiredTiger cursor caching
- Closed
- related to
-
SERVER-34559 Explore options for capped collection performance improvements
- Backlog