Redis of recovery by RDB file

One, background

We know that Redis is a database NoSql, commonly used to cache database, because running in memory, do not always go to the database and then query the data needed so than ordinary relational database superior performance, operational data in memory definitely better than on disk performance is greatly improved. Many companies have to take the redis do with the cache database. The data will be stored in memory relates to an inevitable problem, if the down time of the machine or physical damage or shut down, the data in memory will disappear. But when we open again redis service, the data is still there. Since the data is stored in memory, we re-boot time, memory and loaded our time machine data problems. redis specifically how to do, this is what we have to say today redis persistence mechanism.

Guess you like

Origin blog.51cto.com/12965094/2422662