What are the advantages of the default persistence mode RDB of redis?

Alibaba cloud Q & A 2022-02-13 08:24:37 阅读数:95

advantages default persistence mode rdb

Redis Default persistence method RDB What are the advantages ?

Take the answer 1:

1、 Only one file dump.rdb, Easy persistence .

2、 Good disaster tolerance , A file can be saved to a safe disk .

3、 Maximize performance ,fork Sub process to complete the write operation , Let the main process continue processing commands , So it is IO Maximize . Use a single child process for persistence , The main process will not do anything IO operation , To ensure the redis A high performance

4. When the data set is large , Than AOF It's more efficient to start .

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130824360274.html