Persistence allows you to configure a Redis node’s snapshot and append-only file.
Redis can take a snapshot at predetermined checkpoints to persist data. Snapshots are full copies of all data stored in Redis.
Current snapshot statistics are displayed at the top, with configuration options below including checkpoints.
Create a snapshot now
Save settings changes
The available options correspond to the dbfilename
, stop-writes-on-bgsave-error
, rdbcompression
, and save
configuration keys.
Redis initiates new snapshots according to rules you define.
These rules are defined as: If X keys have changed within the last Y minutes, create a snapshot.
A checkpoint of 900 - 1
would mean, if over 900 keys have changed in the last minute, create a snapshot.
Redis can also consistently persist data to disk on every change if desired. The append-only file is a continuously growing log of all commands sent to the server.
Current append-only file statistics are displayed at the top, with configuration options below.
Rewrite the append-only file now
Save settings changes
The available options correspond to the appendonly
, appendfsync
, auto-aof-rewrite-percentage
, auto-aof-rewrite-min-size
, no-appendfsync-on-rewrite
and aof-load-truncated
configuration keys.
Redis can rewrite the append-only file to optimize its size. You can trigger this directly with Rewrite now, or configure the settings by which Redis will do it automatically.
The status indicators in the corner will display any errors specifically related to persistence.