Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:add rocksdb write params #3

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

MalikHou
Copy link
Owner

Add some new params for rocksdb

Background

Frequent write stop/stall in large-volume random write tests

Change

  • add level0_file_num_compaction_trigger
  • add level0_stop_writes_trigger
  • add level0_slowdown_writes_trigger
  • add min_write_buffer_number_to_merge
  • add max_bytes_for_level_base
  • add max_subcompactions

For the sake of compatibility, the parameters in MR still maintain the default parameters of Rocksdb. If necessary, you can test and adjust by yourself.

Result

In the case of a large number of random writes, the write/stall situation can be greatly alleviated through specific parameter combinations.

@MalikHou MalikHou merged commit 77170bb into unstable Mar 20, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant