mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 07:30:54 +00:00
1518b733eb
Summary: Cache shard bit 4 is sometimes too small and 6 is a more common value picked by users. Make that default. It shouldn't hurt much to change options.max_file_opening_threads default to be 16, which will reduce the worst case DB open time. Test Plan: Run all existing tests. Reviewers: IslamAbdelRahman, yhchiang, kradhakrishnan, igor, andrewkr Reviewed By: andrewkr Subscribers: andrewkr, MarkCallaghan, leveldb, dhruba Differential Revision: https://reviews.facebook.net/D55047
442 B
442 B
Unreleased
- options.write_buffer_size changes from 4MB to 64MB
- options.target_file_size_base changes from 2MB to 64MB
- options.max_bytes_for_level_base changes from 10MB to 256MB
- options.soft_pending_compaction_bytes_limit changes from 0 (disabled) to 64GB
- options.hard_pending_compaction_bytes_limit changes from 0 (disabled) to 256GB
- table_cache_numshardbits changes from 4 to 6
- max_file_opening_threads changes from 1 to 16