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
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand