diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2018-06-16 10:59:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-16 10:59:37 +0200 |
commit | 94658303e9ec5050189728fb8bc514ee682dd5fe (patch) | |
tree | 915b054419ebfa4195cc5adfec79dd768f1095dc /redis.conf | |
parent | 6a66b93b186506bcd37f147cbb353f0961a03870 (diff) | |
parent | fd0c4c027713d1d34a8dd5ef62556b9ac0940d45 (diff) | |
download | redis-94658303e9ec5050189728fb8bc514ee682dd5fe.tar.gz |
Merge pull request #4758 from soloestoy/rdb-save-incremental-fsync
Rdb save incremental fsync
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf index 507527cc8..7c550a532 100644 --- a/redis.conf +++ b/redis.conf @@ -1211,6 +1211,12 @@ hz 10 # big latency spikes. aof-rewrite-incremental-fsync yes +# When redis saves RDB file, if the following option is enabled +# the file will be fsync-ed every 32 MB of data generated. This is useful +# in order to commit the file to the disk more incrementally and avoid +# big latency spikes. +rdb-save-incremental-fsync yes + # Redis LFU eviction (see maxmemory setting) can be tuned. However it is a good # idea to start with the default settings and only change them after investigating # how to improve the performances and how the keys LFU change over time, which |