Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
4.6.2, 5.0.0
-
None
Description
Currently cursor dropping is triggered when mem_used for a bucket meets a specific threshold (default 95%).
Policy is here
Default is here
Using % of memory used as a trigger is insufficient. For example with the current threshold, a single checkpoint could occupy all memory up to the HWM, cause a resident ratio of zero and yet still not invoke cursor dropping. Similarly a lower threshold below the HWM would invoke cursor dropping as part of normal behaviour.
This MB is to implement a more sophisticated scheme whereby the size of the checkpoints themselves are taken into account in order to invoke cursor dropping.