DBAtlas · Database operations atlas

Enable or disable AOF

RedisPersistence

Command

CONFIG SET appendonly yes

What it does

Enables (yes) or disables (no) AOF persistence at runtime.

When to use it

When you want to turn AOF persistence on or off without a restart.

Caution

Disabling AOF weakens the durability guarantee; when you enable it, the initial AOF rewrite creates IO load.

Open in DBAtlas →

Related