Note
For V4.3.X versions, this statement was introduced in OceanBase Database V4.3.5 BP3.
For V4.4.X versions, this statement was introduced in OceanBase Database V4.4.1.
Purpose
This statement is used to delete a throttling rule.
Privilege requirements
To execute the DROP CONCURRENT_LIMITING_RULE statement, the current user must have the DROP privilege. For more information about OceanBase Database privileges, see Privilege types in MySQL-compatible mode.
Syntax
DROP CONCURRENT_LIMITING_RULE [ IF EXISTS ] `ccl_rule_name1` [, `ccl_rule_name2`, ...]
Here, ccl_rule_name specifies the name of the throttling rule.
Examples
Note
When a throttling rule is deleted, it becomes invalid immediately. All SQL statements in the waiting queue of the throttling rule are then executed normally.
Execute the following command to delete the throttling rules sql1_keywords_ccl_rule and sql2_keywords_ccl_rule.
obclient> DROP ONCURRENT_LIMITING_RULE `sql1_keywords_ccl_rule`, `sql2_keywords_ccl_rule`;