Stop Redis and optionally save current state.
Section: Server administration
Gracefully stop the server
bash
bash
SHUTDOWN SAVELearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Server administration
Delete all keys in current DB
Clear the selected database asynchronously.
Rewrite config file
Persist runtime config changes back to redis.conf where possible.