You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yihuang would you be okay with us implementing this using either speedb or pebble?
Reasoning: pebble is non-cgo and speedb simply outperforms rocksdb
speedb is forked from rocksdb v7, so it seems provides all the features of rocksdb itself, but do they plan to sync with future rocksdb updates?
pebble misses some features compared with rocksdb that we may use, FIFO compaction policy could be used with the new node key format of IAVL, user-defined-timestamp for the versiondb implementation1.
Current Default
target_file_size_multiplier = 1
block_size = 4096
OptimizeLevelStyleCompaction(512M)
impliestarget_file_size_base = 64M
Problem
block_size
leads to bigger index/filter block and less efficient compressionTuning For DB Size
target_file_size_multiplier = 2
?We manage to reduce a testnet node's
application.db
from256G
->174G
by doing a manual compaction with new parameters.Other Options
optimize_filters_for_hits = 1
level_compaction_dynamic_level_bytes = true
format_version = 4
more efficient index/filter block: http://rocksdb.org/blog/2019/03/08/format-version-4.htmlformat_version = 5
,optimize_filters_for_memory=true
and jemalloc, more efficient bloom filter.MemTable Optimizations
memtable_whole_key_filtering
memtable_prefix_bloom_size_ratio
The text was updated successfully, but these errors were encountered: