ALTER RESOURCE POOL

Function

ALTER RESOURCE POOL changes the Cgroup of a resource pool.

Precautions

Users having the ALTER permission can modify resource pools.

Syntax

1
2
ALTER RESOURCE POOL pool_name
    WITH ({MEM_PERCENT=pct | CONTROL_GROUP="group_name" | ACTIVE_STATEMENTS=stmt | MAX_DOP = dop | MEMORY_LIMIT='memory_size' | io_limits=io_limits | io_priority='priority' | nodegroup='nodegroup_name' | except_rule='except_rule' | weight=bandwidth_weight | enable_concurrency_scaling=boolean}[, ... ]);

Parameter Description

Examples

Modify a resource pool, and associate it with the High Timeshare Cgroup under Workload under DefaultClass.

1
ALTER RESOURCE POOL pool1 WITH (CONTROL_GROUP="High");

Disable the elastic concurrent expansion function for jobs in a specified resource pool.

1
ALTER RESOURCE POOL pool6 WITH (enable_concurrency_scaling=false);

Helpful Links

CREATE RESOURCE POOL, DROP RESOURCE POOL