Help Center/ Distributed Cache Service/ FAQs/ Redis Usage/ Will Cached Data Be Retained After an Instance Is Restarted?
Updated on 2024-09-24 GMT+08:00

Will Cached Data Be Retained After an Instance Is Restarted?

After a single-node DCS instance is restarted, data in the instance is deleted.

Master/Standby, read/write splitting, and cluster instances (except single-replica clusters) support AOF persistence by default. Data is retained after these instances are restarted. If AOF persistence is disabled (appendonly is set to no), data is deleted after the instances are restarted.