Skip to content

Commit

Permalink
Update database-persistence.md
Browse files Browse the repository at this point in the history
Update database-persistence for RoF / Auto Tiering
  • Loading branch information
AlonMagrafta authored Mar 17, 2024
1 parent f6a1a31 commit 54192cc
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions content/rs/databases/configure/database-persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,26 +104,25 @@ crdb-cli crdb update --crdb-guid <CRDB_GUID> --default-db-config \

## Auto Tiering data persistence

If you are enabling data persistence for databases running on Redis
Enterprise Flash, by default both master and replica shards are
configured to write to disk. This is unlike a standard Redis Enterprise
Software database where only the replica shards persist to disk. This
master and replica dual data persistence with replication is done to
better protect the database against node failures. Flash-based databases
are expected to hold larger datasets and repair times for shards can
be longer under node failures. Having dual-persistence provides better
protection against failures under these longer repair times.
Auto Tiering Flash storage is not considered as persistent storage.

Flash-based databases are expected to hold larger datasets and repair
times for shards can be longer under node failures. To better protect
the database against node failures, users might consider enabling
master and replica dual data persistence provides better protection
against failures under these longer repair times.

However, dual data persistence with replication adds some processor
and network overhead, especially for cloud configurations
with network-attached persistent storage, such as EBS-backed
volumes in AWS.

There may be times when performance is critical for your use case and
you don't want to risk data persistence adding latency. If that is the
case, you can disable data-persistence on the master shards using the
you don't want to risk data persistence adding latency.

You can enable or disable data-persistence on the master shards using the
following `rladmin` command:

```sh
rladmin tune db <database_ID_or_name> master_persistence disabled
rladmin tune db <database_ID_or_name> master_persistence <disabled | enabled>
```

0 comments on commit 54192cc

Please sign in to comment.