update rocksdb config

This commit is contained in:
siddontang 2014-10-24 16:39:37 +08:00
parent 5cfffba6e1
commit 80b4bf8f6a
2 changed files with 12 additions and 12 deletions

View File

@ -58,26 +58,26 @@ max_open_files = 1024
# 0:no, 1:snappy, 2:zlib, 3:bz2, 4:lz4, 5:lz4hc
compression = 0
block_size = 32768
block_size = 65536
write_buffer_size = 67108864
cache_size = 524288000
max_open_files = 1024
max_write_buffer_num = 2
min_write_buffer_number_to_merge = 1
num_levels = 7
level0_file_num_compaction_trigger = 4
level0_file_num_compaction_trigger = 8
level0_slowdown_writes_trigger = 16
level0_stop_writes_trigger = 64
target_file_size_base = 33554432
target_file_size_base = 67108864
target_file_size_multiplier = 1
max_bytes_for_level_base = 33554432
max_bytes_for_level_multiplier = 10
max_bytes_for_level_base = 536870912
max_bytes_for_level_multiplier = 8
disable_auto_compactions = false
disable_data_sync = false
use_fsync = false
background_theads = 4
high_priority_background_threads = 1
max_background_compactions = 1
max_background_compactions = 3
max_background_flushes = 1
allow_os_buffer = true
enable_statistics = false

View File

@ -58,26 +58,26 @@ max_open_files = 1024
# 0:no, 1:snappy, 2:zlib, 3:bz2, 4:lz4, 5:lz4hc
compression = 0
block_size = 32768
block_size = 65536
write_buffer_size = 67108864
cache_size = 524288000
max_open_files = 1024
max_write_buffer_num = 2
min_write_buffer_number_to_merge = 1
num_levels = 7
level0_file_num_compaction_trigger = 4
level0_file_num_compaction_trigger = 8
level0_slowdown_writes_trigger = 16
level0_stop_writes_trigger = 64
target_file_size_base = 33554432
target_file_size_base = 67108864
target_file_size_multiplier = 1
max_bytes_for_level_base = 33554432
max_bytes_for_level_multiplier = 10
max_bytes_for_level_base = 536870912
max_bytes_for_level_multiplier = 8
disable_auto_compactions = false
disable_data_sync = false
use_fsync = false
background_theads = 4
high_priority_background_threads = 1
max_background_compactions = 1
max_background_compactions = 3
max_background_flushes = 1
allow_os_buffer = true
enable_statistics = false