diff --git a/include/rocksdb/options.h b/include/rocksdb/options.h index ea11b8132..0090aa8af 100644 --- a/include/rocksdb/options.h +++ b/include/rocksdb/options.h @@ -948,7 +948,7 @@ struct DBOptions { bool skip_log_error_on_recovery; // if not zero, dump rocksdb.stats to LOG every stats_dump_period_sec - // Default: 3600 (1 hour) + // Default: 600 (10 min) unsigned int stats_dump_period_sec; // If set true, will hint the underlying file system that the file diff --git a/util/options.cc b/util/options.cc index 6bb462aa5..083de0308 100644 --- a/util/options.cc +++ b/util/options.cc @@ -249,7 +249,7 @@ DBOptions::DBOptions() allow_mmap_writes(false), is_fd_close_on_exec(true), skip_log_error_on_recovery(false), - stats_dump_period_sec(3600), + stats_dump_period_sec(600), advise_random_on_open(true), db_write_buffer_size(0), access_hint_on_compaction_start(NORMAL),