You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.0 KiB

# tendisplus configuration for testing
daemon on
loglevel notice
port 6379
requirepass mmog
pidfile ./home/tendisplus.pid
logdir ./home/log
dumpdir ./home/dump
dir ./home/db
slowlog ./home/log/slowlog
netiothreadnum 4
executorthreadnum 20
rocks.blockcachemb 9830
# rocksdb相关配置
rocks.cache_index_and_filter_blocks 0
rocks.max_open_files -1
rocks.compress_type lz4
rocks.level0_compress_enabled true
rocks.level1_compress_enabled true
rocks.level_compaction_dynamic_level_bytes 1
rocks.max_background_compactions 16
#rocks.max_write_buffer_number 16
#rocks.min_write_buffer_number_to_merge 14
rocks.write_buffer_size 67108864
rocks.target_file_size_base 67108864
rocks.max_bytes_for_level_base 536870912
# mapping-command dbsize emptyint
# mapping-command keys emptymultibulk
# 数据迁移相关配置
#cluster-migration-slots-num-per-task 10
#cluster-migration-rate-limit 500
#cluster-migration-binlog-iters 20
#cluster-migration-distance 10000
# binlog保留 时间 和 数量
#minbinlogkeepsec 0
#maxbinlogkeepnum 1000000