提交 23803c04 编写于 作者: dengyihao's avatar dengyihao

opt write opt

上级 eca7b68f
......@@ -391,6 +391,8 @@ int streamInitBackend(SStreamState* pState, char* path) {
rocksdb_options_set_create_if_missing(opts, 1);
rocksdb_options_set_create_missing_column_families(opts, 1);
rocksdb_options_set_write_buffer_size(opts, 128 << 20);
rocksdb_options_set_recycle_log_file_num(opts, 3);
rocksdb_options_set_max_write_buffer_number(opts, 6);
char* err = NULL;
int cfLen = sizeof(ginitDict) / sizeof(ginitDict[0]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册