Use higher RocksDB parallelism
This commit is contained in:
parent
88fb3dc17e
commit
4537fd9636
|
@ -48,6 +48,7 @@ impl DBStore {
|
|||
db_opts.set_compression_type(rocksdb::DBCompressionType::Snappy);
|
||||
db_opts.set_target_file_size_base(128 << 20);
|
||||
db_opts.set_write_buffer_size(64 << 20);
|
||||
db_opts.increase_parallelism(2);
|
||||
db_opts.set_min_write_buffer_number(2);
|
||||
db_opts.set_max_write_buffer_number(3);
|
||||
db_opts.set_disable_auto_compactions(opts.bulk_import);
|
||||
|
|
Loading…
Reference in New Issue
Block a user