-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: WiredTiger
-
None
-
Fully Compatible
-
Quint Iteration 3
The WiredTiger engine automatically closes and evicts idle tables in order to free cache space quickly. There are three knobs that can be adjusted to tune when and how often the file manager checks for idle tables.
- close_handle_minimum: number of handles open before the file manager will look for handles to close; default 250
- close_idle_time: amount of time in seconds a file handle needs to be idle before attempting to close it; default 30 secs
- close_scan_interval : interval in seconds at which to check for files that are inactive and close them; default 10 secs
The defaults should be increased in the MongoDB integration layer. This will result in the regular LRU eviction policy to control when collections are evicted from cache and is more in line with behavior most users expect.
- depends on
-
WT-1929 LSM and YCSB 50/50 - Is it scale up to the amount of handles w/o deletes?
- Closed
- is related to
-
SERVER-17907 B-tree eviction blocks access to collection for extended period under WiredTiger
- Closed
- related to
-
WT-1930 Change meaning of file_manager.close_handle_minimum=0 to turns off sweep of handles
- Closed