Here are some configuration options related to RDB persistence. It's recommended you leave the default value, which is yes for these options listed as follows:
- stop-writes-on-bgsave-error yes: When BGSAVE fails, as a protection mechanism, the Redis Server will stop accepting writes, if this option is set to yes.
- rdbcompression yes: Compression can reduce the size of the dump file dramatically, at the cost of more CPU usage for doing LZF compression.
- rdbchecksum yes: Creates a CRC64 checksum at the end of the snapshot file. The performance cost to pay during saving and loading the snapshot file is around 10%. Set to no for maximum performance, but less resistance to data corruption.
The dump generated by SAVE/BGSAVE can be ...