Help Center/ Distributed Cache Service/ User Guide (Kuala Lumpur Region)/ FAQs/ Redis Usage/ Will Cached Data Be Retained After an Instance Is Restarted?
Updated on 2024-07-29 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 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.