Administer_resource_manager Does Not Allow Execution Of Dbms_resource_manager.Switch_plan

(Doc ID 1329062.1)

Last updated on NOVEMBER 25, 2016

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Which additional privlege is necessary to use the procedure dbms_resource_manager.switch_plan? The documentation mentions only ADMINISTER_RESOURCE_MANAGER and nothing else.

drop user marc cascade;
create user marc identified by marc;

grant connect, resource to marc;

exec dbms_resource_manager_privs.grant_system_privilege('marc','ADMINISTER_RESOURCE_MANAGER',FALSE);

SQL> connect marc/marc
SQL> exec dbms_resource_manager.switch_plan('MIXED_WORKLOAD_PLAN');
BEGIN dbms_resource_manager.switch_plan('MIXED_WORKLOAD_PLAN'); END;

ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SQL", line 1575
ORA-06512: at "SYS.DBMS_RESOURCE_MANAGER", line 920
ORA-06512: at line 1


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms