Flush all Redis databases (FLUSHALL)
clear entire redis cache | flush all redis data | run redis flushall | redis | redis-cli | cache | flushWarning, destructive. This command deletes, overwrites or changes data in a way that cannot easily be undone. Check every placeholder carefully and make a backup first.
redis-cli FLUSHALLEmpties all databases of the server at once, unlike FLUSHDB, which only affects the selected database. On a server with several websites, all of them lose their cache at the same time, which briefly causes high load on PHP and MySQL. If persistence is enabled, the saved dataset is also overwritten on the next save.
Note: Only use this when you really mean the whole server. Sessions, queues and other persistent data in Redis are lost as well.
Also searched as
- clear entire redis cache
- flush all redis data
- run redis flushall