tencent cloud

문서TencentDB for Tendis

Disabling Commands

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2023-12-21 21:12:59
This document describes how to disable commands in the TencentDB for Tendis console.

Overview

TencentDB for Tendis supports disabling some commands that may cause service instability or accidentally delete data, by configuring the disable-command-list parameter.

Directions

Disabling a command

1. Log in to the TencentDB for Tendis console, select a region, click an instance ID in the instance list, and enter the instance management page.
2. Select Parameter Configuration > Modifiable Parameters and configure the list of commands to be disabled in the disable-command-list parameter line.
Note:
Commands that can be disabled include flushall, flushdb, keys, hgetall, eval, evalsha, and script.
Command disablement will take effect within two minutes for existing connections without restarting the Tendis service.


Enabling a disabled command

1. Log in to the TencentDB for Tendis console, select a region, click an instance ID in the instance list, and enter the instance management page.
2. Select Parameter Configuration > Modifiable Parameters and remove a command from the list of disabled commands in Current Value to enable it.

Parameter modification history

1. Log in to the TencentDB for Tendis console, select a region, click an instance ID in the instance list, and enter the instance management page.
2. View the parameter modification history in Parameter Configuration > Modification Log.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백