I'm reading the Redis documentation on persistence here - https://redis.io/topics/persistence - and am wondering what the acronyms AOF and RDB stand for. Thanks! :)
RDB (Redis Database): The RDB persistence performs point-in-time snapshots of your dataset at specified intervals. AOF (Append Only File): The AOF persistence logs every write operation received by the server, that will be played again at server startup, reconstructing the original dataset.
If you require data durability, you can enable the Redis append-only file feature (AOF). When this feature is enabled, the node writes all of the commands that change cache data to an append-only file.
DESCRIPTION. Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker, found at http://redis.io/ The redis-check-rdb command to check redis-server RDB files.
Redis Append Only File or AOF is a persistence mechanism that allows the Redis server to keep track and log every command executed on the server. These command logs can then be re-played when the server starts up, recreating the database to its original state.
AOF
stands for Append Only File. It's the change-log style persistent format.
RDB
is for Redis Database File. It's the snapshot style persistence format.
I would like to make an update @Tague's answer (for RDB) and also adding a basic info for each.
Both of these are options if one has to choose persistence for Redis data.RDB
is for Redis Database Backup file.
RDB file is a dump of all user data stored in an internal, compressed serialization format at a particular timestamp which is used for point-in-time recovery (recovery from a timestamp).AOF
stands for Append Only File.
AOF is actually a persistence technique in which an RDB file is generated once and all the data is appended to it as it comes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With