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