In the previous two recipes, we learned about the RDB option for Redis data persistence. However, using RDB for data persistence does not provide very strong durability. As mentioned, an RDB data dump only contains a point-in-time data snapshot of Redis. Although Redis dumps data into the RDB file periodically, the data between two RDB dumps will be lost permanently when a Redis process crashes, or there is a hardware failure. AOF is an append-only log file that records the write commands of the Redis Server. The data durability of AOF is higher than RDB, because every write command is appended to the file. In this recipe, we will show you how to enable AOF in Redis and introduce some important configuration parameters of AOF.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine