fix ALTER SYSTEM docs (#11780)

Co-authored-by: wuhangze <wuhangze@jd.com>
This commit is contained in:
Henry2SS
2022-08-16 10:52:24 +08:00
committed by GitHub
parent 8a3ee91bb5
commit decffae032
2 changed files with 8 additions and 8 deletions

View File

@ -59,20 +59,20 @@ Note:
1. Modify the resource tag of BE
```sql
ALTER SYSTEM MODIFY BACKEND "host1:9050" SET ("tag.location" = "group_a");
ALTER SYSTEM MODIFY BACKEND "host1:9050" SET ("tag.location" = "group_a", "tag.compute" = "c1");
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("tag.location" = "group_a");
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("tag.location" = "group_a", "tag.compute" = "c1");
````
2. Modify the query disable property of BE
```sql
ALTER SYSTEM MODIFY BACKEND "host1:9050" SET ("disable_query" = "true");
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("disable_query" = "true");
````
3. Modify the import disable property of BE
```sql
ALTER SYSTEM MODIFY BACKEND "host1:9050" SET ("disable_load" = "true");
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("disable_load" = "true");
````
### Keywords

View File

@ -59,19 +59,19 @@ ALTER SYSTEM MODIFY BACKEND "host:heartbeat_port" SET ("key" = "value"[, ...]);
1. 修改 BE 的资源标签
```sql
ALTER SYSTEM MODIFY BACKEND "host1:9050" SET ("tag.location" = "group_a");
ALTER SYSTEM MODIFY BACKEND "host1:9050" SET ("tag.location" = "group_a", "tag.compute" = "c1");
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("tag.location" = "group_a");
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("tag.location" = "group_a", "tag.compute" = "c1");
```
2. 修改 BE 的查询禁用属性
```sql
ALTER SYSTEM MODIFY BACKEND "host1:9050" SET ("disable_query" = "true");
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("disable_query" = "true");
```
3. 修改 BE 的导入禁用属性
```sql
ALTER SYSTEM MODIFY BACKEND "host1:9050" SET ("disable_load" = "true");
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("disable_load" = "true");
```
### Keywords