Managing the Rules of the Resource Manager¶
This section shows the syntax of the commands to create, modify and delete rules of the resource manager.
CREATE [ OR REPLACE ] RESOURCE_MANAGER RULE <name:identifier>
[ DESCRIPTION = <description:literal> ]
CONDITION <condition>
RESOURCE_MANAGER PLAN <name:identifier>
<condition> ::= (see Rules for forming functions)
<identifier> ::= (see Basic elements of VQL statements)
ALTER RESOURCE_MANAGER RULE <name:identifier>
[ RENAME <new_name:identifier> ]
[ DESCRIPTION = <description:literal> ]
[ CONDITION <condition> ]
[ RESOURCE_MANAGER PLAN <name:identifier> ]
To list the existing rules, run LIST RESOURCE_MANAGER RULES
.
To drop a plan, execute DROP RESOURCE_MANAGER RULE
:
DROP RESOURCE_MANAGER RULE [ IF EXISTS ] <name:identifier>