Bug 20679690 - Import Fails With ORA-39083, ORA-21560 For Resource Manager Plans
(Doc ID 2042572.1)
Last updated on FEBRUARY 23, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.4 [Release 11.2]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
While attempting to perform a full database DataPump import, the following errors were reported:
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
ORA-39083: Object type PROCOBJ failed to create with error:
ORA-29357: object SYSTEM_PLAN already exists
Failing sql is:
BEGIN
dbms_resource_manager.create_plan('SYSTEM_PLAN','Plan to give system sessions
priority','EMPHASIS','ACTIVE_SESS_POOL_ABSOLUTE','PARALLEL_DEGREE_LIMIT_ABSOLU
TE','FIFO_TIMEOUT','E
MPHASIS',FALSE);COMMIT; END;
Completed 18 PROCOBJ objects in 7 seconds
Processing object type
DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
ORA-39083: Object type PROCACT_SYSTEM failed to create with error:
ORA-21560: argument 2 is null, invalid, or out of range
Failing sql is:
BEGIN
DECLARE
sp_name VARCHAR2(30);
sp_desc VARCHAR2(500);
sp_category VARCHAR2(30);
sp_force_match VARCHAR2(3);
sp_sqltext CLOB;
sp_hints CLOB;
profile_already_exists exception;
pragma EXCEPTION_INIT(profile_already_exists, -13829);
BEGIN
sp_name := 'SYS_SQLPROF_0148d8ba3acf0000';
sp_desc := '';
sp_category := 'DEFAULT';
sp_force_match := 'NO';
ORA-39083: Object type PROCACT_SYSTEM failed to create with error:
ORA-29364: plan directive SYSTEM_PLAN, OTHER_GROUPS already exists
Failing sql is:
Failing sql is:
BEGIN
dbms_resource_manager.create_plan_directive('SYSTEM_PLAN','OTHER_GROUPS','Othe
r sessions at lower
priority',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,FALSE
,NULL,NULL,NULL,NULL,
NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,FALSE,NULL,NULL,NULL);
dbms_resource_manager.create_plan_directive('SYSTEM_PLAN','SYS_GROUP','System
ses
Completed 5 PROCACT_SYSTEM objects in 61 seconds
ORA-39083: Object type PROCOBJ failed to create with error:
ORA-29357: object SYSTEM_PLAN already exists
Failing sql is:
BEGIN
dbms_resource_manager.create_plan('SYSTEM_PLAN','Plan to give system sessions
priority','EMPHASIS','ACTIVE_SESS_POOL_ABSOLUTE','PARALLEL_DEGREE_LIMIT_ABSOLU
TE','FIFO_TIMEOUT','E
MPHASIS',FALSE);COMMIT; END;
Completed 18 PROCOBJ objects in 7 seconds
Processing object type
DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
ORA-39083: Object type PROCACT_SYSTEM failed to create with error:
ORA-21560: argument 2 is null, invalid, or out of range
Failing sql is:
BEGIN
DECLARE
sp_name VARCHAR2(30);
sp_desc VARCHAR2(500);
sp_category VARCHAR2(30);
sp_force_match VARCHAR2(3);
sp_sqltext CLOB;
sp_hints CLOB;
profile_already_exists exception;
pragma EXCEPTION_INIT(profile_already_exists, -13829);
BEGIN
sp_name := 'SYS_SQLPROF_0148d8ba3acf0000';
sp_desc := '';
sp_category := 'DEFAULT';
sp_force_match := 'NO';
ORA-39083: Object type PROCACT_SYSTEM failed to create with error:
ORA-29364: plan directive SYSTEM_PLAN, OTHER_GROUPS already exists
Failing sql is:
Failing sql is:
BEGIN
dbms_resource_manager.create_plan_directive('SYSTEM_PLAN','OTHER_GROUPS','Othe
r sessions at lower
priority',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,FALSE
,NULL,NULL,NULL,NULL,
NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,FALSE,NULL,NULL,NULL);
dbms_resource_manager.create_plan_directive('SYSTEM_PLAN','SYS_GROUP','System
ses
Completed 5 PROCACT_SYSTEM objects in 61 seconds
The query below can be used to determine the resource manager plans available in the source and target databases:
SQL> select plan from dba_rsrc_plans;
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |