ALTER-SYSTEM-MODIFY-BACKEND
ALTER-SYSTEM-MODIFY-BACKENDβ
Nameβ
ALTER SYSTEM MKDIFY BACKEND
Descriptionβ
Modify BE node properties (administrator only!)
grammar:
ALTER SYSTEM MODIFY BACKEND "host:heartbeat_port" SET ("key" = "value"[, ...]);
illustrate:
- host can be a hostname or an ip address
- heartbeat_port is the heartbeat port of the node
- Modify BE node properties The following properties are currently supported:
- tag.xxxx: resource tag
- disable_query: query disable attribute
- disable_load: import disable attribute
Note:
- A backend can be set multi resource tags. But must contain "tag.location" type.
Exampleβ
Modify the resource tag of BE
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");Modify the query disable property of BE
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("disable_query" = "true");
Modify the import disable property of BE
ALTER SYSTEM MODIFY BACKEND "host1:heartbeat_port" SET ("disable_load" = "true");
Keywordsβ
ALTER, SYSTEM, ADD, BACKEND, ALTER SYSTEM