DROP SHADOW RULE
描述
DROP SHADOW RULE 语法用于从当前逻辑库中删除影子库压测规则。
语法定义
DropShadowRule ::=
'DROP' 'SHADOW' 'RULE' ifExists? ruleName (',' ruleName)*
ifExists ::=
'IF' 'EXISTS'
ruleName ::=
identifier补充说明
ifExists子句用于避免Shadow rule not exists错误。
示例
- 删除影子库压测规则
DROP SHADOW RULE shadow_rule;- 删除多个影子库压测规则
DROP SHADOW RULE shadow_rule, shadow_rule_1;- 使用
ifExists子句删除影子库压测规则
DROP SHADOW RULE IF EXISTS shadow_rule;保留字
DROP、SHADOW、RULE、IF、EXISTS