Redis Data Persistence aof mode

Source: Internet
Author: User

Open the running directory for Redis, select Database 2 (select 2, empty set) to see the last save time for Dump.rdb is 1:58 noon today.

Add 2 data:

View Dump.rdb again, save time is now (description from 1:58 to now no modified key)

You can see the data that you just saved in Dump.rdb, but when you add a third data ADDR3, the modification time of DUMP.RDB is not changed and the snapshot backup frequency is not reached.

Now choose the label of 3 database, add 2 data, at this time not reached the frequency of snapshot persistence, so the default DUMP.RDB does not have these two data, DUMP.RDB should be modified time is 4 points more

You can manually initiate snapshot persistence at this point, and you can see that the backup file modification time has changed.

Redis Data Persistence aof mode

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.