The default setting for restarting redis is the time it takes to read data from the hard disk into the memory. There is still time for decompression (compression is on by default). . According to experience, it is about (数据量(硬盘上那个数据文件的大小)/所在区文件读取速度)*1.2左右。海量数据重启是很慢的。。。 aof那种大约是(数据量(硬盘上那个数据文件的大小)/所在区文件读取速度)*(AOF行数/4W)*1.2 It is recommended not to restart if it is too large. When changing the configuration, make a mirror first. Then cut directly to the mirror. Then this one shut down. . .
The default setting for restarting redis is the time it takes to read data from the hard disk into the memory. There is still time for decompression (compression is on by default). . According to experience, it is about
(数据量(硬盘上那个数据文件的大小)/所在区文件读取速度)*1.2
左右。海量数据重启是很慢的。。。aof那种大约是
(数据量(硬盘上那个数据文件的大小)/所在区文件读取速度)*(AOF行数/4W)*1.2
It is recommended not to restart if it is too large. When changing the configuration, make a mirror first. Then cut directly to the mirror. Then this one shut down. . .