Set stats_dump_period_sec to 600 by default
Summary: Having stats in our LOG more often will help a lot with perf debugging. Test Plan: none Reviewers: sdong, MarkCallaghan Reviewed By: MarkCallaghan Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D38781
This commit is contained in:
parent
e2c1d4b57f
commit
4cb4d546cd
@ -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
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user