문제

Is it possible to disable snapshot persistence on a redis instance without restarting it?

Redis documentation seems to imply this is possible. But how? I can see how you could turn AOF peristence on or off, but how can one turn off snapshotting (RDB) persistence?

Version of redis used is: 2.6.9

도움이 되었습니까?

해결책

You disable snapshotting by issuing:

CONFIG SET save ""

This is documented (in very few words) in your redis.conf file:

#   It is also possible to remove all the previously configured save
#   points by adding a save directive with a single empty string argument

Hope this helps, TW

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top