在进行数据清理的时候,把内存中的数据进行清理,同时避免清理同时,数据刷到本地硬盘。
所以毙掉刷新save的过程。

先清空本地rdb

#   In the example below the behaviour will be to save:
#   after 900 sec (15 min) if at least 1 key changed
#   after 300 sec (5 min) if at least 10 keys changed
#   after 60 sec if at least 10000 keys changed
#
#   Note: you can disable saving completely by commenting out all "save" lines.
#
#   It is also possible to remove all the previously configured save
#   points by adding a save directive with a single empty string argument
#   like in the following example:
#
#   save ""

#save 900 1
#save 300 10
#save 60 10000

然后清理redis数据后,手动bgsave。