Help Center>
Distributed Cache Service>
FAQs>
Data Backup, Export, and Migration>
When Will AOF Rewrites Be Triggered?
Updated on 2024-05-20 GMT+08:00
When Will AOF Rewrites Be Triggered?
AOF rewrites involve the following concepts:
- Rewrite window, which is currently 01:00 to 04:59
- Disk usage threshold, which is 50%
- Dataset memory, which is the percentage of memory that Redis dataset has used.
AOF rewrites are triggered in the following scenarios:
- If the disk usage reaches the threshold (regardless of whether the current time is within the rewrite window), rewrites will be triggered on instances whose AOF file size is larger than the dataset memory.
- If the disk usage is below the threshold and the current time is within the rewrite window, rewrites will be triggered on instances whose AOF file size is larger than the dataset memory multiplied by 1.5.
- If the disk usage is below the threshold but the current time is out of the rewrite window, rewrites will be triggered on instances whose AOF file size is larger than the instance's maximum memory multiplied by 4.5.
Parent topic: Data Backup, Export, and Migration
Data Backup, Export, and Migration FAQs
- How Do I Export DCS Redis Instance Data?
- Why Is Memory of a DCS Redis Instance Unchanged After Data Migration Using Rump, Even If No Error Message Is Returned?
- Can I Export Backup Data of DCS Redis Instances to RDB Files on the Console?
- Why Are Processes Frequently Killed During Data Migration?
- Where Are DCS Instance Backup Files Stored? How Are They Charged?
- Is All Data in a DCS Redis Instance Migrated During Online Migration?
- When Will AOF Rewrites Be Triggered?
- What Are the Common Causes of Redis Migration Failures?
- Can I Migrate Data to Multiple Target Instances in One Migration Task?
- How Do I Enable the SYNC and PSYNC Commands?
- Why Does Migration Task Creation Fail?
- Will the Same Keys Be Overwritten During Data Migration or Backup Import?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore