By default the parallel degree policy value is MANUAL for the
TPURGENT consumer group. The CS_RESOURCE_MANAGER.LIST_DEFAULT_RULES
function shows no value for the default value for the
DEGREE_OF_PARALLELISM for the TPURGENT
consumer group.
This procedure reverts the specified resource manager's plan
properties to default values.
Syntax
CS_RESOURCE_MANAGER.REVERT_TO_DEFAULT_VALUES(
consumer_group IN VARCHAR2,
shares IN BOOLEAN DEFAULT FALSE,
concurrency_limit IN BOOLEAN DEFAULT FALSE);
Parameters
Parameter
Description
consumer_group
Specifies the consumer group to revert.
Depending on the workload, valid values are: HIGH,
MEDIUM, LOW,
TP, or TPURGENT.
shares
When the value is TRUE, revert shares for the
service to the default value.
concurrency_limit
When the value is TRUE, revert the
concurrency_limit for the service to the
default value. When you revert the
concurrency_limit, both the
concurrency_limit and the
degree_of_parallelism values are set to
their default values.
Usage Note
When the workload type is Data Warehouse, the valid values for
consumer_group are HIGH,
MEDIUM, or LOW.
Examples
BEGIN
CS_RESOURCE_MANAGER.REVERT_TO_DEFAULT_VALUES(
consumer_group => 'MEDIUM',
concurrency_limit => TRUE);
END;
/
BEGIN
CS_RESOURCE_MANAGER.REVERT_TO_DEFAULT_VALUES(
consumer_group => 'HIGH',
shares => TRUE);
END;
/
Use this procedure to update the resource plan for a specified
consumer group.
Syntax
CS_RESOURCE_MANAGER.UPDATE_PLAN_DIRECTIVE(
consumer_group IN VARCHAR2,
io_megabytes_limit IN NUMBER DEFAULT NULL,
elapsed_time_limit IN NUMBER DEFAULT NULL,
shares IN NUMBER DEFAULT NULL,
concurrency_limit IN NUMBER DEFAULT NULL);
Parameters
Parameter
Description
consumer_group
Specifies the consumer group to update.
Depending on the workload, valid values are: HIGH,
MEDIUM, LOW,
TP, or TPURGENT.
io_megabytes_limit
Specifies the maximum megabytes of I/O that a SQL operation can issue.
Specify a NULL value to clear the limit.
elapsed_time_limit
Specifies the maximum time in seconds that a SQL operation can run.
Specify a NULL value to clear the limit.
shares
Specifies the shares value. A higher number of shares, relative to other
consumer groups, increases the consumer group's CPU and I/O
priority.
concurrency_limit
Specifies the maximum number of concurrent SQL statements that can be
executed.
This parameter is only valid with the MEDIUM
consumer group.
Usage Notes
When a SQL statement in the specified service runs more than the specified
runtime limit (elapsed_time_limit) or does more I/O than
the specified amount (io_megabytes_limit), then the SQL
statement will be terminated.
When the workload type is Data Warehouse, the valid values for
consumer_group are HIGH,
MEDIUM, or LOW.
When the concurrency_limit parameter is
specified, the only valid value for consumer_group is
MEDIUM.