You can set the #no_loose_disabled-commands parameter in the ApsaraDB for Redis console to disable specific commands that may degrade service performance and cause data loss.
Background information
In some scenarios, unlimited use of commands may cause some issues. Some Redis commands can delete a large volume of data or all data from a database, such as flushall and flushdb. Improper uses of some commands such as keys and hgetall may cause blocking in the single-threading Redis model and degrade service performance.
To ensure stable and efficient management, you can disable specific commands to minimize risks for your workloads.
Procedure
Results
(error) ERR command 'FLUSHALL' not support for normal user
. 
Related operations
Operation | Description |
---|---|
DescribeParameters | Queries the configuration and operational parameters of an ApsaraDB for Redis instance. |
ModifyInstanceConfig | Modifies parameters of an ApsaraDB for Redis instance. |