Skip to content

Commit

Permalink
fix rocksdb config
Browse files Browse the repository at this point in the history
  • Loading branch information
duanlinlin committed Jul 19, 2024
1 parent 0905f12 commit ace833c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# set by jni: options.setLogFileTimeToRoll
log_file_time_to_roll=86400
# set by jni: options.setMaxBackgroundJobs or options.setIncreaseParallelism
max_background_jobs=2
max_background_jobs=32
# set by jni: options.setMaxSubcompactions
max_subcompactions=1
# set by jni: options.setMaxTotalWalSize
Expand All @@ -44,7 +44,7 @@
# set by jni: options.setMaxWriteBufferNumber
max_write_buffer_number=4
# set by jni: options.setNumLevels
num_levels=7
num_levels=-1
# set by jni: options.setLevelZeroFileNumCompactionTrigger
level0_file_num_compaction_trigger=4
# set by jni: options.setMaxBytesForLevelBase
Expand All @@ -57,7 +57,7 @@
[TableOptions/BlockBasedTable "default"]
# set by jni: tableOptions.setBlockSize
block_size=65536
# set by jni: tableOptions.setBlockCache
# set by jni: tableOptions.setBlockCache, default value is: maxDirectMemory() / ledgerDirsSize / 10;
block_cache=206150041
# set by jni: tableOptions.setFormatVersion
format_version=2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# set by jni: options.setLogFileTimeToRoll
log_file_time_to_roll=86400
# set by jni: options.setMaxBackgroundJobs or options.setIncreaseParallelism
max_background_jobs=2
max_background_jobs=32
# set by jni: options.setMaxSubcompactions
max_subcompactions=1
# set by jni: options.setMaxTotalWalSize
Expand All @@ -44,7 +44,7 @@
# set by jni: options.setMaxWriteBufferNumber
max_write_buffer_number=1
# set by jni: options.setNumLevels
num_levels=7
num_levels=-1
# set by jni: options.setLevelZeroFileNumCompactionTrigger
level0_file_num_compaction_trigger=4
# set by jni: options.setMaxBytesForLevelBase
Expand All @@ -57,7 +57,7 @@
[TableOptions/BlockBasedTable "default"]
# set by jni: tableOptions.setBlockSize
block_size=65536
# set by jni: tableOptions.setBlockCache
# set by jni: tableOptions.setBlockCache, default value is: maxDirectMemory() / ledgerDirsSize / 10;
block_cache=206150041
# set by jni: tableOptions.setFormatVersion
format_version=2
Expand Down
6 changes: 3 additions & 3 deletions conf/entry_location_rocksdb.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# set by jni: options.setLogFileTimeToRoll
log_file_time_to_roll=86400
# set by jni: options.setMaxBackgroundJobs or options.setIncreaseParallelism
max_background_jobs=2
max_background_jobs=32
# set by jni: options.setMaxSubcompactions
max_subcompactions=1
# set by jni: options.setMaxTotalWalSize
Expand All @@ -48,7 +48,7 @@
# set by jni: options.setMaxWriteBufferNumber
max_write_buffer_number=4
# set by jni: options.setNumLevels
num_levels=7
num_levels=-1
# set by jni: options.setLevelZeroFileNumCompactionTrigger
level0_file_num_compaction_trigger=4
# set by jni: options.setMaxBytesForLevelBase
Expand All @@ -61,7 +61,7 @@
[TableOptions/BlockBasedTable "default"]
# set by jni: tableOptions.setBlockSize
block_size=65536
# set by jni: tableOptions.setBlockCache
# set by jni: tableOptions.setBlockCache, default value is: maxDirectMemory() / ledgerDirsSize / 10;
block_cache=206150041
# set by jni: tableOptions.setFormatVersion
format_version=2
Expand Down

0 comments on commit ace833c

Please sign in to comment.