Skip to content

Commit 71690cc

Browse files
authored
Update plan.sql
Need to change script entry instead cpu_p1 ( is deprecated) now mgmt_p1
1 parent db859ed commit 71690cc

File tree

1 file changed

+4
-4
lines changed
  • data-platform/core-converged-db/resource-manager/scripts

1 file changed

+4
-4
lines changed

data-platform/core-converged-db/resource-manager/scripts/plan.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ dbms_resource_manager.clear_pending_area();
88
dbms_resource_manager.create_pending_area();
99

1010
DBMS_RESOURCE_MANAGER.create_plan(plan => 'ORG_PLAN', comment=>'Limit CPU for redefinition');
11-
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'REDEF_GROUP', comment => 'For redefinition', cpu_p1 => 30, SWITCH_GROUP=>'LOWER_GROUP', SWITCH_TIME =>30, switch_for_call=>true);
12-
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'OTHER_GROUPS', comment => 'Default', cpu_p1=> 30);
13-
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'SYS_GROUP', comment => 'SYS', cpu_p1 => 30);
14-
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'LOWER_GROUP', comment => 'LOWER GROUP', cpu_p1 =>10, utilization_limit=>10);
11+
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'REDEF_GROUP', comment => 'For redefinition', mgmt_p1 => 30, SWITCH_GROUP=>'LOWER_GROUP', SWITCH_TIME =>30, switch_for_call=>true);
12+
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'OTHER_GROUPS', comment => 'Default', mgmt_p1=> 30);
13+
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'SYS_GROUP', comment => 'SYS', mgmt_p1 => 30);
14+
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'LOWER_GROUP', comment => 'LOWER GROUP', mgmt_p1 =>10, utilization_limit=>10);
1515

1616
DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
1717
DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();

0 commit comments

Comments
 (0)