提交 10582fb5 编写于 作者: dengyihao's avatar dengyihao

opt write opt

上级 9ba77263
...@@ -236,7 +236,7 @@ if(${BUILD_WITH_ROCKSDB}) ...@@ -236,7 +236,7 @@ if(${BUILD_WITH_ROCKSDB})
endif(${TD_WINDOWS}) endif(${TD_WINDOWS})
if(${TD_DARWIN} OR ${TD_WINDOWS}) if(${TD_DARWIN})
option(HAVE_THREAD_LOCAL "" OFF) option(HAVE_THREAD_LOCAL "" OFF)
option(WITH_IOSTATS_CONTEXT "" OFF) option(WITH_IOSTATS_CONTEXT "" OFF)
option(WITH_PERF_CONTEXT "" OFF) option(WITH_PERF_CONTEXT "" OFF)
...@@ -247,6 +247,7 @@ if(${BUILD_WITH_ROCKSDB}) ...@@ -247,6 +247,7 @@ if(${BUILD_WITH_ROCKSDB})
endif(${TD_WINDOWS}) endif(${TD_WINDOWS})
option(WITH_FALLOCATE "" OFF)
option(WITH_JEMALLOC "" OFF) option(WITH_JEMALLOC "" OFF)
option(WITH_GFLAGS "" OFF) option(WITH_GFLAGS "" OFF)
option(PORTABLE "" ON) option(PORTABLE "" ON)
......
...@@ -390,7 +390,7 @@ int streamInitBackend(SStreamState* pState, char* path) { ...@@ -390,7 +390,7 @@ int streamInitBackend(SStreamState* pState, char* path) {
// create the DB if it's not already present // create the DB if it's not already present
rocksdb_options_set_create_if_missing(opts, 1); rocksdb_options_set_create_if_missing(opts, 1);
rocksdb_options_set_create_missing_column_families(opts, 1); rocksdb_options_set_create_missing_column_families(opts, 1);
rocksdb_options_set_write_buffer_size(opts, 128 << 20); rocksdb_options_set_write_buffer_size(opts, 64 << 20);
rocksdb_options_set_recycle_log_file_num(opts, 6); rocksdb_options_set_recycle_log_file_num(opts, 6);
rocksdb_options_set_max_write_buffer_number(opts, 3); rocksdb_options_set_max_write_buffer_number(opts, 3);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册