Share via


Persistence interface

Persistence-related configuration for the Redis Enterprise database

Properties

aofEnabled

Sets whether AOF is enabled. Note that at most one of AOF or RDB persistence may be enabled.

aofFrequency

Sets the frequency at which data is written to disk. Defaults to '1s', meaning 'every second'. Note that the 'always' setting is deprecated, because of its performance impact.

rdbEnabled

Sets whether RDB is enabled. Note that at most one of AOF or RDB persistence may be enabled.

rdbFrequency

Sets the frequency at which a snapshot of the database is created.

Property Details

aofEnabled

Sets whether AOF is enabled. Note that at most one of AOF or RDB persistence may be enabled.

aofEnabled?: boolean

Property Value

boolean

aofFrequency

Sets the frequency at which data is written to disk. Defaults to '1s', meaning 'every second'. Note that the 'always' setting is deprecated, because of its performance impact.

aofFrequency?: string

Property Value

string

rdbEnabled

Sets whether RDB is enabled. Note that at most one of AOF or RDB persistence may be enabled.

rdbEnabled?: boolean

Property Value

boolean

rdbFrequency

Sets the frequency at which a snapshot of the database is created.

rdbFrequency?: string

Property Value

string