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

Set defalut leveldb.properties #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions leveldb/leveldb.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
#defalut setting
leveldb.dbname=/tmp/ycsb-leveldb
leveldb.format=single
leveldb.destroy=false

leveldb.write_buffer_size=67108864
leveldb.max_file_size=67108864
# 64MB 67108864
# defalut :4MB 4194304
leveldb.write_buffer_size=4194304

# 32MB 33554432
# defalut :2MB 2097152
leveldb.max_file_size=2097152
leveldb.max_open_files=1000
leveldb.compression=snappy
leveldb.cache_size=134217728
leveldb.filter_bits=10
leveldb.cache_size=-1
leveldb.filter_bits=-1
leveldb.block_size=4096
leveldb.block_restart_interval=16