Updated on 2022-08-06 GMT+08:00

Command Renaming

After creating a DCS Redis 4.0 or 5.0 instance, you can rename the following critical commands: COMMAND, KEYS, FLUSHDB, FLUSHALL, and HGETALL.

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. In the Operation column of an instance, choose More > Command Renaming.
  5. Select a command, enter a new name, and click OK.

    • You can rename multiple commands at a time.
    • The new command names will take effect only after you restart the instance. Remember the new command names because they will not be displayed on the console for security purposes.
    • To use the original name of a command, rename the command again.
    • The new name must contain at least four characters.