Persistence

Pro

Persistence allows you to configure a Redis node’s snapshot and append-only file.

Snapshots

Redis can take a snapshot at predetermined checkpoints to persist data. Snapshots are full copies of all data stored in Redis.

Persistence - Snapshots
Persistence - Snapshots

Current snapshot statistics are displayed at the top, with configuration options below including checkpoints.

Snapshot now Create a snapshot now

Save Save settings changes

The available options correspond to the dbfilename, stop-writes-on-bgsave-error, rdbcompression, and save configuration keys.

Checkpoints

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.

Append-only File

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.

Persistence - Append-only file
Persistence - Append-only file

Current append-only file statistics are displayed at the top, with configuration options below.

Rewrite now Rewrite the append-only file now

Save 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.

Rewriting

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.

Health checks

The status indicators in the corner will display any errors specifically related to persistence.

Was this page helpful? Yes / No

Thanks for the feedback! Please click submit below.