tune rocksdb
This commit is contained in:
parent
3c858a6134
commit
71af7b785a
@ -78,6 +78,8 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
rocksdb::Options options;
|
||||
options.create_if_missing = true;
|
||||
options.allow_concurrent_memtable_write = true;
|
||||
options.enable_pipelined_write = true;
|
||||
auto ropt = rocksdb::ReadOptions();
|
||||
auto wopt = rocksdb::WriteOptions();
|
||||
std::vector<std::thread> wg;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user