KEYS, FLUSHALL, and FLUSHDB can have excessively long execution times or overly broad impact, and should be avoided in production environments. Distributed Cache supports disabling specific commands by configuring the disable-command-list parameter. Once a command is disabled, it cannot be executed on the instance.disable-command-list is one or more command names, separated by commas (for example, flushall,flushdb,keys). Supported commands that can be disabled include flushall, flushdb, keys, hgetall, eval, evalsha, and script. The exact list of supported commands is subject to the commands listed in the "Reference Value" column of the console parameter list.disable-command-list parameter is visible in the console parameter list of the instance. If it is not visible, submit a ticket to upgrade the backend version. (A momentary disconnection may occur during the version upgrade; simply reconnect.)disable-command-list parameter row in the parameter list. In the Current Value column, hover the mouse over the parameter value and click 
flushall, flushdb, keys, hgetall, eval, evalsha, and script, subject to the acceptable values in the actual parameter list.
redis-cli:redis-cli -h <instance-connection-address> -p <port> -a <password>
<instance-connection-address>:<port>> keys *(error) ERR command keys is disabled
disable-command-list parameter row. Delete the corresponding command from the disable list in the current runtime parameter value to re-enable that command.keys, flushall, and flushdb. For full traversal requirements, consider using the scan command for incremental processing instead.disable-command-list parameter on the Modification History tab in Parameter Configuration.Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários