Skip to content

Commit 3a6ee26

Browse files
authored
Create planon.sql
Activate a resource plan
1 parent fd854d8 commit 3a6ee26

File tree

1 file changed

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

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- Activate a Resource Manager plan, or change the current top plan, using the DBMS_RESOURCE_MANAGER.SWITCH_PLAN package procedure or the ALTER SYSTEM statement.
2+
3+
begin
4+
dbms_resource_manager.switch_plan(plan_name =>'ORG_PLAN', sid => '*');
5+
end;
6+
/
7+
8+
-- monitor active plan
9+
set pagesize 200
10+
select * from v$rsrc_plan;

0 commit comments

Comments
 (0)