add rdb-save-incremental-fsync option in redis.conf
This commit is contained in:
parent
54cae05ea7
commit
fd0c4c0277
@ -1193,6 +1193,12 @@ hz 10
|
|||||||
# big latency spikes.
|
# big latency spikes.
|
||||||
aof-rewrite-incremental-fsync yes
|
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
|
# 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
|
# 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
|
# how to improve the performances and how the keys LFU change over time, which
|
||||||
|
Loading…
x
Reference in New Issue
Block a user