11.2 DBMS_RESOURCE_MANAGER.CALIBRATE_IO

Dear experts!
We're using oracle 11.2 standard edition on windows platform.
When I start the following procedure:
SET SERVEROUTPUT ON
DECLARE
lat INTEGER;
iops INTEGER;
mbps INTEGER;
BEGIN
DBMS_RESOURCE_MANAGER.CALIBRATE_IO(1, 20, iops, mbps, lat);
DBMS_OUTPUT.PUT_LINE ('max_iops = ' || iops);
DBMS_OUTPUT.PUT_LINE ('latency = ' || lat);
dbms_output.put_line('max_mbps = ' || mbps);
end;
I get the output:
max_iops = 41
latency = 23
max_mbps = 28
What does the new io calibration feature tell me about? How can I use these values for tuning my database? For example modify spfile parameters.
Thanks
Markus

no, the results are not used by the optimizer for this you use DBMS_STATS.GATHER_SYSTEM_STATS.
with calibrate_io you just measure the io subsystem. maybe you have a requirement (x iops) for a new db. then you configure the system and check whether the requirements are fulfilled.
hth

Similar Messages

  • Overwriting vm.cfg file

    Hallo,
    I'm using direct disk access for a couple of VM, because it seems that the performance is quite better. I test it with Oracle 11g and I had about 15-20% better performance with DBMS_RESOURCE_MANAGER.CALIBRATE_IO. So I edit the vm.cfg file with the stanza phy:/dev.... . This works quite well, but from time to time the vm.cfg file seems to be overwritten (maybe ovs-agent). After that the stanza for the direct access is deleted, and it is aligned with the entries in OV Manager.
    Is there a way to prevent this.
    Reg.
    Rene

    ReneV wrote:
    Is there a way to prevent this.What version of Oracle VM are you running? This shouldn't happen any more with Oracle VM 2.1.5 and in 2.2, we've added the ability to add physical multipath devices as Shared Virtual Disks. This same mechanism can be used to add physical devices to a single guest (just ignore the "shared" part). This requires the devices to be exposed as /dev/mapper or /dev/mpath devices. You'll be able to import the disks in Oracle VM Manager under the "Resources" -> "Shared Virtual Disks" -> "Import" option. Once you import a multipath device, you can visit a particular guest's storage tab to enable it.

  • Oracle and SSD

    Hi,
    Im looking into using Flash SSD with oracle,
    I know that oracle is designed to run on a magnetic disk system, but are there any settings etc that can be used to configure an oracle solution to be optomised to use flash SSD?
    any help would be appriciated
    Cheers

    Exactly what limits the usefulness of the procedure. I suggest doing a profile of the system. You only use the disks that you have datafiles on.
    First make a copy of the DBA_RSRC_IO_CALIBRATE table:
    CREATE TABLE CAL_IO AS SELECT * FROM DBA_RSRC_IO_CALIBRATE;
    Then use the following pl/sql routine to see what the effects of increasing the number of disks with fixed latency is:
    set serveroutput on
    Declare
    v_max_iops PLS_INTEGER:=1;
    v_max_mbps PLS_INTEGER:=1;
    v_actual_latency PLS_INTEGER:=1;
         i integer;
    begin
    for i in 1..30 loop <-- change this to you max number of disks
    dbms_resource_manager.calibrate_io(i,30,
    max_iops=>v_max_iops,
    max_mbps=>v_max_mbps,
    actual_latency=>v_actual_latency);
    dbms_output.put_line('Results follow: ');
    dbms_output.put_line('Max IOPS: '||v_max_iops);
    dbms_output.put_line('Max MBPS: '||v_max_mbps);
    dbms_output.put_line('Actual Latency: '||v_actual_latency);
    insert into io_cal select * from dba_rsrc_io_calibrate;
    commit;
    end loop;
    end;
    Then truncate CAL_IO (after pulling the data out into a spreadsheet) then run:
    set serveroutput on
    Declare
    v_max_iops PLS_INTEGER:=1;
    v_max_mbps PLS_INTEGER:=1;
    v_actual_latency PLS_INTEGER:=1;
         i integer;
    begin
    for i in 10..105 loop
    if (mod(i,5):=0) then
    dbms_resource_manager.calibrate_io(I,30,
    max_iops=>v_max_iops,
    max_mbps=>v_max_mbps,
    actual_latency=>v_actual_latency);
    dbms_output.put_line(‘Results follow: ‘);
    dbms_output.put_line(‘Max IOPS: ‘||v_max_iops);
    dbms_output.put_line(‘Max MBPS: ‘||v_max_mbps);
    dbms_output.put_line(‘Actual Latency: ‘||v_actual_latency);
    insert into io_cal select * from dba_rsrc_io_calibrate;
    commit;
    end if;
    end loop;
    end;
    To see the affects of latency variation on your ideal number of disks.
    In my testing the number of disks (after getting past 3) made little difference, but increasing the max allowed latency did.
    Mike

  • Major performance trouble Oracle 11g  RHELx64, HP 8100 storage

    Hi hope some one can help me with this.
    We have a datawarehouse with this configuratuion
    Database
    RHEL5 u5 on 2* intel 5700 cpu, 36gb ram, emulex 4gb dual port hba, HP EVA 8100 san.
    Oracle 11g 11.1.7.
    Database 8 kblock
    Disks are
    /data 2.0TB 72 disks formated with ext3 4k block.
    /log 100GB 72 disks formated with ext3 4k block.
    ETL
    Informatica Power Center 8.6 on similar machine.
    My problem is vhen we try to load the database with data it takes forever so we tested this stuff
    iops script run
    SET SERVEROUTPUT ON
    DECLARE
    lat INTEGER;
    iops INTEGER;
    mbps INTEGER;
    BEGIN
    -- DBMS_RESOURCE_MANAGER.CALIBRATE_IO (<DISKS>, <MAX_LATENCY>, iops, mbps, lat);
    DBMS_RESOURCE_MANAGER.CALIBRATE_IO (72, 10, iops, mbps, lat);
    DBMS_OUTPUT.PUT_LINE ('max_iops = ' || iops);
    DBMS_OUTPUT.PUT_LINE ('latency = ' || lat);
    dbms_output.put_line('max_mbps = ' || mbps);
    end;
    Results
    Warehouse database about 600GB data in it
    max_iops = 82
    latency = 11
    max_mbps = 204
    LOW!!!
    I installed a new database with just the exaple schemas on same disk /data and got theese results
    max_iops = 25665
    latency = 8
    max_mbps = 517
    Any one have some ideas what i should test or change?
    /Jens Bäckström (Noob)Dba

    The second database IOTEST is a small test db.
    This is how i did the test
    i stopped the DWRPD01 wich is the dw database.
    i start the IOTEST DATABSE and run the iops script.
    after the run i stoped IOTEST and started DWPRD02 and run the same script.
    i am sure the database files was on the same san disk group . but ofc i can not besure that the data be on the same physical disk in the SAN cabinett.
    Ill check ur other questions as soon as i have some ansvers
    and thanks for helping me out.
    Below are my initfiles from the DB's
    /Jens
    IOTEST Database
    IOTEST.__db_cache_size=16106127360
    IOTEST.__java_pool_size=268435456
    IOTEST.__large_pool_size=268435456
    IOTEST.__oracle_base='/oracle_prod01'#ORACLE_BASE set from environment
    IOTEST.__pga_aggregate_target=6442450944
    IOTEST.__sga_target=21474836480
    IOTEST.__shared_io_pool_size=0
    IOTEST.__shared_pool_size=4294967296
    IOTEST.__streams_pool_size=268435456
    *.archive_lag_target=1800
    *.audit_file_dest='/oracle_prod01/admin/IOTEST/adump'
    *.audit_sys_operations=true
    *.audit_trail='db'
    *.compatible='11.1.0.0.0'
    *.control_file_record_keep_time=16
    *.control_files='/iotest/IOTEST/control01.ctl','/iotest/IOTEST/control02.ctl','/iotest/IOTEST/control03.ctl'
    *.db_block_checking='LOW'
    *.db_block_checksum='TYPICAL'
    *.db_block_size=8192
    *.db_create_file_dest=''
    *.db_domain=''
    *.db_file_multiblock_read_count=32
    *.db_files=200
    *.db_name='IOTEST'
    *.db_recovery_file_dest=''
    *.db_writer_processes=3
    *.diagnostic_dest='/oracle_prod01'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=IOTESTXDB)'
    *.filesystemio_options='setall'
    *.log_checkpoints_to_alert=true
    *.nls_language='AMERICAN'
    *.open_cursors=512
    *.optimizer_index_cost_adj=50
    *.parallel_io_cap_enabled=true
    *.parallel_max_servers=10
    *.parallel_min_servers=2
    *.pga_aggregate_target=6442450944
    *.processes=512
    *.recyclebin='off'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=21474836480DWPRD01.__db_cache_size=16106127360
    *.star_transformation_enabled='TRUE'
    *.undo_tablespace='UNDOTBS1'
    DWPRD01 Database
    DWPRD01.__java_pool_size=268435456
    DWPRD01.__large_pool_size=268435456
    DWPRD01.__oracle_base='/oracle_prod01'#ORACLE_BASE set from environment
    DWPRD01.__pga_aggregate_target=6442450944
    DWPRD01.__sga_target=21474836480
    DWPRD01.__shared_io_pool_size=0
    DWPRD01.__shared_pool_size=4294967296
    DWPRD01.__streams_pool_size=268435456
    *.archive_lag_target=1800
    *.audit_file_dest='/oracle_prod01/admin/DWPRD01/adump'
    *.audit_sys_operations=true
    *.audit_trail='db'
    *.compatible='11.1.0.0.0'
    *.control_file_record_keep_time=16
    *.control_files='/dbffast_prod01/control01.ctl','/oracle_prod01/control02.ctl','/log_prod01/control03.ctl'
    *.db_block_checking='LOW'
    *.db_block_checksum='TYPICAL'
    *.db_block_size=8192
    *.db_create_file_dest=''
    *.db_domain=''
    *.db_file_multiblock_read_count=32
    *.db_files=200
    *.db_name='DWPRD01'
    *.db_recovery_file_dest=''
    *.db_writer_processes=3
    *.diagnostic_dest='/oracle_prod01'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=DWPRD01XDB)'
    *.filesystemio_options='setall'
    *.log_archive_dest_1='LOCATION=/arch_prod01'
    *.log_archive_format='DWPRD01_%t_%s_%r.log'
    *.log_checkpoints_to_alert=true
    *.nls_language='AMERICAN'
    *.open_cursors=512
    *.optimizer_index_cost_adj=50
    *.parallel_io_cap_enabled=true
    *.parallel_max_servers=10
    *.parallel_min_servers=2
    *.pga_aggregate_target=6442450944
    *.processes=512
    *.recyclebin='off'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=21474836480
    *.star_transformation_enabled='TRUE'
    *.undo_tablespace='UNDOTBS1'

  • Dbms_resource_manager

    dear all,
    I would like to ask how to use this package when I create
    pending area. but I have got the following error message:
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201:
    identifier 'DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA' must be
    declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    how can I run it successfully? thx
    bryan

    How about
    exec dbms_resource_manager_privs.grant_switch_consumer_group('bala','script', TRUE);
    exec dbms_resource_manager.set_initial_consumer_group('bala','script');

  • DBMS_RESOURCE_MANAGER - consumer group members?

    Hi,
    I am a beginner in DBMS_RESOURCE_MANAGER. I would like to make a multi level plan in this feautre. I make the consumer groups for the plans, but I don't know how can I define the members of these consumer groups?
    How does Oracle know which users are the members of these groups?
    Using simple database users and schema users too, I would like to take these users into these groups but I don't know how.
    Please help what is the method to do this! How can I write this?
    And another problem: Is it possible that a user is a member of two or more consumer group?
    Regards
    Steve

    Use dbms_resource_manager_privs.grant_switch_consumer_group,orcl> desc dbms_resource_manager_privs
    PROCEDURE GRANT_SWITCH_CONSUMER_GROUP
    Argument Name                  Type                    In/Out Default?
    GRANTEE_NAME                   VARCHAR2                IN
    CONSUMER_GROUP                 VARCHAR2                IN
    GRANT_OPTION                   BOOLEAN                 IN
    PROCEDURE GRANT_SYSTEM_PRIVILEGE
    Argument Name                  Type                    In/Out Default?
    GRANTEE_NAME                   VARCHAR2                IN
    PRIVILEGE_NAME                 VARCHAR2                IN     DEFAULT
    ADMIN_OPTION                   BOOLEAN                 IN
    PROCEDURE REVOKE_SWITCH_CONSUMER_GROUP
    Argument Name                  Type                    In/Out Default?
    REVOKEE_NAME                   VARCHAR2                IN
    CONSUMER_GROUP                 VARCHAR2                IN
    PROCEDURE REVOKE_SYSTEM_PRIVILEGE
    Argument Name                  Type                    In/Out Default?
    REVOKEE_NAME                   VARCHAR2                IN
    PRIVILEGE_NAME                 VARCHAR2                IN     DEFAULT
    orcl>and yes, a user can be in many groups but only one group membership is acitve at any time.

  • IMP DB

    i export the full database as a dump file in one location after that i tried to import to another database.
    my doubt is if i import the database ....the existing database is having datadictionary ,v$views etc..
    so wont it clash with the existing systemtables
    When i import my database i got the followin error
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    Warning: the objects were exported by SYSTEM, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','SYS',TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','DBA',TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','IMP_FULL_DATABASE',FALS"
    "E);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','AQ_ADMINISTRATOR_ROLE',"
    "TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','OEM_MONITOR',FALSE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','SYS',TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','DBA',TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','AQ_ADMINISTRATOR_ROLE'"
    ",TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','SYS',TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','DBA',TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','AQ_ADMINISTRATOR_ROLE'"
    ",TRUE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
    ORA-06512: at "SYS.DBMS_AQADM", line 480
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "REPCAT$_OBJECT_NULL_VECTOR" TIMESTAMP '2005-08-30:14:05:35' OI"
    "D '296EAC6057114D26B123A36D2679C516' AS OBJECT"
    " -- type owner, name, hashcode for the type represented by null_vector"
    " type_owner VARCHAR2(30),"
    " type_name VARCHAR2(30),"
    " type_hashcode RAW(17),"
    " -- null_vector for a particular object instance"
    " -- ROBJ REVISIT: should only contain the null image, and not version#"
    " null_vector RAW(2000)"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "sys.dbms_logrep_imp.instantiate_schema(schema_name=>NULL, export_db_name=>'"
    "ORCLBK.REGRESS.RDBMS.DEV.US.ORACLE.COM', inst_scn=>'820250');sys.dbms_logre"
    "p_imp.bump_scn(scn=>'820250');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_LOGREP_UTIL"
    ORA-06512: at "SYS.DBMS_LOGREP_IMP", line 274
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_REPCAT_MIG.PRE_IMPORT;"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_REPCAT_MIG_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT_MIG_INTERNAL"
    ORA-06512: at "SYS.DBMS_REPCAT_MIG", line 116
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(2104,dbms_server_alert.operator_GT,'1200',d"
    "bms_server_alert.operator_NONE,'',1,3,'orclbk',dbms_server_alert.object_typ"
    "e_SYSTEM,'');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 93:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(2018,dbms_server_alert.operator_GE,'100',db"
    "ms_server_alert.operator_NONE,'',1,2,'orclbk',dbms_server_alert.object_type"
    "_SYSTEM,'');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 92:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Administrative');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Application');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Concurrency');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Configuration');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Network');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Other');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'30',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Cluster');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'30',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Commit');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Administrative');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Application');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Concurrency');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Configuration');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Network');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Other');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'50',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Cluster');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN "
    "dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'50',dbm"
    "s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
    "EVENT_CLASS,'Commit');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 2, column 91:
    PLS-00302: component 'OPERATOR_NONE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 29371:
    "BEGIN "
    "dbms_resource_manager.set_consumer_group_mapping_pri(1,7,6,9,8,10,5,4,3,2);"
    "dbms_resource_manager.set_consumer_group_mapping('ORACLE_USER','SYSTEM','SY"
    "S_GROUP');"
    "dbms_resource_manager.set_consumer_group_mapping('ORACLE_USER','SYS','SYS_G"
    "ROUP');"
    "dbms_resource_manager.submit_pending_area;"
    "COMMIT; END;"
    IMP-00003: ORACLE error 29371 encountered
    ORA-29371: pending area is not active
    ORA-06512: at "SYS.DBMS_RMIN", line 332
    ORA-06512: at "SYS.DBMS_RESOURCE_MANAGER", line 413
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','"
    "CURRENT_SCHEMA'), export_db_name=>'ORCLBK.REGRESS.RDBMS.DEV.US.ORACLE.COM',"
    " inst_scn=>'820288');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_LOGREP_UTIL"
    ORA-06512: at "SYS.DBMS_LOGREP_IMP", line 274
    ORA-06512: at line 2
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
    "DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 9:
    PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
    ORA-06550: line 1, column 9:
    PL/SQL: Statement ignored
    . . importing table "DEF$_AQCALL" 0 rows imported
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
    "DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 9:
    PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
    ORA-06550: line 1, column 9:
    PL/SQL: Statement ignored
    . . importing table "DEF$_AQERROR" 0 rows imported
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
    "DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 9:
    PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
    ORA-06550: line 1, column 9:
    PL/SQL: Statement ignored
    . . importing table "DEF$_CALLDEST" 0 rows imported
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
    "DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 9:
    PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
    ORA-06550: line 1, column 9:
    PL/SQL: Statement ignored
    . . importing table "DEF$_DEFAULTDEST" 0 rows imported
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
    "DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 9:
    PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
    ORA-06550: line 1, column 9:
    PL/SQL: Statement ignored
    . . importing table "DEF$_DESTINATION" 0 rows imported
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
    "DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 9:
    PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
    ORA-06550: line 1, column 9:
    PL/SQL: Statement ignored
    . . importing table "DEF$_ERROR" 0 rows imported
    . . importing table "DEF$_LOB" 0 rows imported
    . . importing table "DEF$_ORIGIN" 0 rows imported
    . . importing table "DEF$_PROPAGATOR" 0 rows imported
    . . importing table "DEF$_PUSHED_TRANSACTIONS" 0 rows imported
    . . importing table "DEF$_TEMP$LOB" 0 rows imported
    . . importing table "DEPT" 0 rows imported
    . . importing table "DEPT1" 0 rows imported
    . . importing table "EMP" 0 rows imported
    . . importing table "EMP1" 0 rows imported
    . . importing table "LOGSTDBY$APPLY_MILESTONE" 0 rows imported
    . . importing partition "LOGSTDBY$APPLY_PROGRESS":"P0" 0 rows imported
    . . importing table "LOGSTDBY$EVENTS" 0 rows imported
    . . importing table "LOGSTDBY$HISTORY" 0 rows imported
    . . importing table "LOGSTDBY$PARAMETERS" 0 rows imported
    . . importing table "LOGSTDBY$PLSQL" 0 rows imported
    . . importing table "LOGSTDBY$SCN" 0 rows imported
    . . importing table "LOGSTDBY$SKIP" 0 rows imported
    . . importing table "LOGSTDBY$SKIP_TRANSACTION" 0 rows imported
    . . importing table "MVIEW$_ADV_INDEX" 0 rows imported
    . . importing table "MVIEW$_ADV_PARTITION" 0 rows imported
    . . importing table "REPCAT$_AUDIT_ATTRIBUTE" 2 rows imported
    . . importing table "REPCAT$_AUDIT_COLUMN" 0 rows imported
    . . importing table "REPCAT$_COLUMN_GROUP" 0 rows imported
    . . importing table "REPCAT$_CONFLICT" 0 rows imported
    . . importing table "REPCAT$_DDL" 0 rows imported
    . . importing table "REPCAT$_EXCEPTIONS" 0 rows imported
    . . importing table "REPCAT$_EXTENSION" 0 rows imported
    . . importing table "REPCAT$_FLAVORS" 0 rows imported
    . . importing table "REPCAT$_FLAVOR_OBJECTS" 0 rows imported
    . . importing table "REPCAT$_GENERATED" 0 rows imported
    . . importing table "REPCAT$_GROUPED_COLUMN" 0 rows imported
    . . importing table "REPCAT$_INSTANTIATION_DDL" 0 rows imported
    . . importing table "REPCAT$_KEY_COLUMNS" 0 rows imported
    . . importing table "REPCAT$_OBJECT_PARMS" 0 rows imported
    . . importing table "REPCAT$_OBJECT_TYPES" 28 rows imported
    . . importing table "REPCAT$_PARAMETER_COLUMN" 0 rows imported
    . . importing table "REPCAT$_PRIORITY" 0 rows imported
    . . importing table "REPCAT$_PRIORITY_GROUP" 0 rows imported
    . . importing table "REPCAT$_REFRESH_TEMPLATES" 0 rows imported
    . . importing table "REPCAT$_REPCAT" 0 rows imported
    . . importing table "REPCAT$_REPCATLOG" 0 rows imported
    . . importing table "REPCAT$_REPCOLUMN" 0 rows imported
    . . importing table "REPCAT$_REPGROUP_PRIVS" 0 rows imported
    . . importing table "REPCAT$_REPOBJECT" 0 rows imported
    . . importing table "REPCAT$_REPPROP" 0 rows imported
    . . importing table "REPCAT$_REPSCHEMA" 0 rows imported
    . . importing table "REPCAT$_RESOLUTION" 0 rows imported
    . . importing table "REPCAT$_RESOLUTION_METHOD" 19 rows imported
    . . importing table "REPCAT$_RESOLUTION_STATISTICS" 0 rows imported
    . . importing table "REPCAT$_RESOL_STATS_CONTROL" 0 rows imported
    . . importing table "REPCAT$_RUNTIME_PARMS" 0 rows imported
    . . importing table "REPCAT$_SITES_NEW" 0 rows imported
    . . importing table "REPCAT$_SITE_OBJECTS" 0 rows imported
    . . importing table "REPCAT$_SNAPGROUP" 0 rows imported
    . . importing table "REPCAT$_TEMPLATE_OBJECTS" 0 rows imported
    . . importing table "REPCAT$_TEMPLATE_PARMS" 0 rows imported
    . . importing table "REPCAT$_TEMPLATE_REFGROUPS" 0 rows imported
    . . importing table "REPCAT$_TEMPLATE_SITES" 0 rows imported
    . . importing table "REPCAT$_TEMPLATE_STATUS" 3 rows imported
    . . importing table "REPCAT$_TEMPLATE_TARGETS" 0 rows imported
    . . importing table "REPCAT$_TEMPLATE_TYPES" 2 rows imported
    . . importing table "REPCAT$_USER_AUTHORIZATIONS" 0 rows imported
    . . importing table "REPCAT$_USER_PARM_VALUES" 0 rows imported
    . . importing table "SQLPLUS_PRODUCT_PROFILE" 0 rows imported
    IMP-00041: Warning: object created with compilation warnings
    "CREATE FORCE VIEW "ORCLBKP2"."MVIEW_EVALUATIONS" ("R"
    "UNID","MVIEW_OWNER","MVIEW_NAME","RANK","STORAGE_IN_BYTES","FREQUENCY","CUM"
    "ULATIVE_BENEFIT","BENEFIT_TO_COST_RATIO") AS "
    "select"
    " t1.runid# as runid,"
    " summary_owner AS mview_owner,"
    " summary_name AS mview_name,"
    " rank# as rank,"
    " storage_in_bytes,"
    " frequency,"
    " cumulative_benefit,"
    " benefit_to_cost_ratio"
    "from SYSTEM.MVIEW$_ADV_OUTPUT t1, SYSTEM.MVIEW$_ADV_LOG t2, ALL_USERS u"
    "where"
    " t1.runid# = t2.runid# and"
    " u.username = t2.uname and"
    " u.user_id = userenv('SCHEMAID') and"
    " t1.output_type = 1"
    "order by t1.rank#"
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_TABLE_DEFN_UPDATE('SYSTEM','DEF$_AQC"
    "ALL',2,16384,2,0,0,'', '-07:00'); END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
    ORA-06512: at line 1
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
    ORA-06512: at line 1
    ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_TABLE_DEFN_UPDATE('SYSTEM','DEF$_AQE"
    "RROR',2,16384,2,0,0,'', '-07:00'); END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_DEFN_UPDATE(HEXTORAW('388C27256DB141"
    "49A4087915FDBE8A95'),'SYSTEM','DEF$_AQERROR','DEF$_AQERROR',0,5,0,1,0,'Erro"
    "r Queue for Deferred RPCs'); END;"
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_DEFN_UPDATE(HEXTORAW('E5BCDC95348B40"
    "C68F1295D72049BBAA'),'SYSTEM','DEF$_AQERROR','AQ$_DEF$_AQERROR_E',1,0,0,0,0"
    ",'exception queue'); END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN SYS.DBMS_REPCAT.REPCAT_IMPORT_REPSCHEMA; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_REPCAT" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT"
    ORA-06512: at line 1
    IMP-00017: following statement failed with ORACLE error 4063:
    "BEGIN "
    "SYS.DBMS_AQ_IMP_INTERNAL.CLEANUP_SCHEMA_IMPORT;"
    "COMMIT; END;"
    IMP-00003: ORACLE error 4063 encountered
    ORA-04063: package body "SYS.DBMS_AQ_SYS_IMP_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_SYS_IMP_INTERNAL"
    ORA-06512: at "SYS.DBMS_AQ_IMP_INTERNAL", line 191
    ORA-06512: at line 2
    Import terminated successfully with warnings.

    Hello,
    Do not drop "SYSTEM" or import anything in system.
    What you need to do it, make sure your "targetschemaname" exists, if you are looking to import everyting then you should using RMAN.
    What was you export command ?
    exp system/password owner=sourceschemaname file=orclexp.dmp log=orclexp.log
    imp system/password fromuser=sourceschemaname touser=targetschemaname file=orclexp.dmp log=orclimplog.log ignore=y Regards

  • How to delete consumer_group from DBA_RSRC_CONSUMER_GROUPS

    Dear all,
    There are three consumer_group named *'OTHER_GROUPS01','TMP_DATA' and 'DB_DEV'*, there are belong to plan named DW_PLAN,
    After I delete the plan DW_PLAN, but i found there three consumer_groups have not deleted from DBA_RSRC_CONSUMER_GROUPS,why?
    How can i delete them from DBA_RSRC_CONSUMER_GROUPS table.
    delete plan'sql:
    Begin
      Dbms_Resource_Manager.Create_Pending_Area();
      Dbms_Resource_Manager.Delete_Plan('DW_PLAN');
      Dbms_Resource_Manager.Validate_Pending_Area();
      Dbms_Resource_Manager.Submit_Pending_Area();
    End;
    SQL> Select consumer_group
      2   From DBA_RSRC_CONSUMER_GROUPS aa
      3  Where aa.consumer_group In ('OTHER_GROUPS01','TMP_DATA','DB_DEV');
    CONSUMER_GROUP
    DB_DEV
    TMP_DATA
    OTHER_GROUPS01

    The issue have been solved!
    Begin
      Dbms_Resource_Manager.Create_Pending_Area();
      Dbms_Resource_Manager.Delete_Consumer_Group('TMP_DATA');
      Dbms_Resource_Manager.Delete_Consumer_Group('OTHER_GROUPS01');
      Dbms_Resource_Manager.Delete_Consumer_Group('DB_DEV');
      Dbms_Resource_Manager.Validate_Pending_Area();
      Dbms_Resource_Manager.Submit_Pending_Area();
    End;

  • DATABASE RESOURCE MANAGER ( ORACLE 8I NEW FEATURE )

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-16
    DATABASE RESOURCE MANAGER ( ORACLE 8I NEW FEATURE )
    ===================================================
    SCOPE
    8i~10g Standard Edition 에서는 Database Resource Manager 를 지원하지 않는다.
    Explanation
    Database Resource Manager란 OS에서 제공하는 자원 (예 : CPU 자원 )에 대해 DB
    차원에서 계획을 세워, 세부 관리를 할 수 있도록 해 주는 서비스이다.
    예를 들어 주간에 batch 작업을 처리하더라도, OLTP 업무에는 지장을 주지 않아야
    할 경우 batch 작업에 CPU 자원을 적게 할당해 주는 것이 바람직 하며, Resource
    Manager를 활용하여 CPU 자원을 batch 작업과 OLTP 업무에 서로 다르게 할당해 줄
    수 있다. ( Oracle 8.1.6 까지는 Resouurce Manager에서 CPU 자원에 대해서만
    관리만 가능하다 )
    1. 용어
    1) Resource Consumer Group
    사용자 session들의 집합. Resource에 대한 요구사항에 따라 나뉘어진 그룹.
    2) Resource Plan
         Consumer Group에 자원을 할당 해 주기 위한 resource plan directive들을
    포함.
    3) Resource Allocation Method
         Resource Manager에서 자원을 할당해 주는 방법/정책.
    4) Resource Plan Directive
         Resource Plan에 대해 자원을 할당해 주는 세부 내역.
    2. Resource Consumer Group
    * 기본 group
         [ 사용자가 삭제, 수정할 수 없는 group ]
         OTHER_GROUPS : active plan schema에 속하지 않는 consumer group의 모든
    session
         DEFAULT_CONSUMER_GROUP : consumer group을 지정하지 않은 모든
    session.(default)
         [ 기본적으로 제공되나 사용자가 삭제하거나 변경할 수 있는 group ]
         SYS_GROUP : SYSTEM_PLAN에 대한 high priority consumer group
    SYSTEM, SYS user에 할당한다.
         LOW_GROUP : SYSTEM_PLAN에 대한 low priority consumer group
    3. Resource Plan
         Consumer group에 속하는 session들은 해당 group에 대한 resource plan에
    따라 자원 할당이 결정되며, 자원 할당에 대한 세부 사항은 resource plan에
    대한 resource plan directive에서 지정된다.
         Resource plan은 subplan을 둘 수 있다.
    4. Resource Allocation Method
         Round-robin Method : Consumer group 내에서 session들에 대한 CPU 할당
         Emphasis Method : Consumer group에 할당되는 CPU
         Absolute Method : Parallel degree 한계 ( 예 : Parallel Query에서의
    degree )
    5. Resource Plan Directive
         Resource Plan Directive에 지정된 내용들은 resource plan에 따라
    consumer group에 자원을 할당할 때 반영된다.
    6. 구현 예제
         MYDB PLAN +-> MAILDB PLAN +-> POSTMAN GROUP (40% Level 1)
         | (30% Level 1) |
         | +-> USERS GROUP (80% Level 2)
         | |
         | +-> MAILMAINT GROUP (20% Level 2)
         | |
         | +-> OTHER GROUP (100% Level 3)
         |
         +-> BUGDB PLAN  +-> ONLINE GROUP (80% Level 1)
         (70% Level 1) |
         +-> BATCH GROUP (20% Level 1)
         |
         +-> BUGMAINT GROUP (100% Level 2)
         |
         +-> OTHER GROUP (100% Level 3)
         위 예에서 MYDB PLAN에는 2개의 subplan ( MAILDB PLAN, BUGDB PLAN )이
         있으며 각각 30%와 70%의 CPU 자원을 할당하였다.
         Level 1, Level 2, Level 3 는 우선순위 레벨을 의미하며, 하나의
         resource plan에서 동일한 level의 합이 100%를 넘지 못한다.
         ( Level 은 1부터 8까지 지정할 수 있으며 level 1이 가장 우선순위가
         높으며 level 8이 가장 우선순위가 낮다 )
         예를 들어 전체 CPU 자원의 70%를 할당 받은 BUGDB PLAN은 다시
         ONLINE GROUP과 BATCH GROUP을 두고 있는데, 이 둘의 Level이 모두 1이며
         두개의 percentage의 합이 100%이다. 하지만, 즉, level 1인 ONLINE GROUP
    에 90%를 할당하였다면, level 1인 BATCH GROUP에는 10% 이상을 할당할 수
    없다.
    Example
         * 구현을 위한 코드
         BEGIN
         /* PLAN schema 작업 영역 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
         /* BUGDB PLAN, MAILDB PLAN, MYDB PLAN 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'bugdb_plan',
         COMMENT => 'Resource plan/method for bug users sessions');
         DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'maildb_plan',
         COMMENT => 'Resource plan/method for mail users sessions');
         DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'mydb_plan',
         COMMENT => 'Resource plan/method for bug and mail users sessions');
         /* CONSUMER GROUP 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Bug_Online_group', COMMENT => 'Resource consumer group/method for
    online bug users sessions');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Bug_Batch_group', COMMENT => 'Resource consumer group/method for
    bug users sessions who run batch jobs');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Bug_Maintenance_group', COMMENT => 'Resource consumer group/method
    for users sessions who maintain the bug db');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Mail_users_group', COMMENT => 'Resource consumer group/method for
    mail users sessions');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Mail_Postman_group', COMMENT => 'Resource consumer group/method for
    mail postman');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Mail_Maintenance_group', COMMENT => 'Resource consumer group/method
    for users sessions who maintain the mail db');
         /* BUGDB PLAN에 대한 DIRECTIVE 생성 */     
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'bugdb_plan',
    GROUP_OR_SUBPLAN => 'Bug_Online_group',     COMMENT => 'online bug users
    sessions at level 1', CPU_P1 => 80, CPU_P2=> 0,
         PARALLEL_DEGREE_LIMIT_P1 => 8);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'bugdb_plan',
    GROUP_OR_SUBPLAN => 'Bug_Batch_group',      COMMENT => 'batch bug users
    sessions at level 1', CPU_P1 => 20, CPU_P2 => 0,
         PARALLEL_DEGREE_LIMIT_P1 => 2);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'bugdb_plan',
    GROUP_OR_SUBPLAN => 'Bug_Maintenance_group',COMMENT => 'bug
    maintenance users sessions at level 2', CPU_P1 => 0, CPU_P2 => 100,
         PARALLEL_DEGREE_LIMIT_P1 => 3);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'bugdb_plan',
    GROUP_OR_SUBPLAN => 'OTHER_GROUPS', COMMENT => 'all other users
    sessions at level 3', CPU_P1 => 0, CPU_P2 => 0, CPU_P3 =>
         100);
    (참고) CPU_P1 : cpu allocation for level 1
         /* MAILDB PLAN에 대한 DIRECTIVE 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'maildb_plan',
    GROUP_OR_SUBPLAN => 'Mail_Postman_group',COMMENT => 'mail postman at
    level 1', CPU_P1 => 40, CPU_P2 => 0, PARALLEL_DEGREE_LIMIT_P1 => 4);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'maildb_plan',
    GROUP_OR_SUBPLAN => 'Mail_users_group',     COMMENT => 'mail users
    sessions at level 2', CPU_P1 => 0, CPU_P2 => 80,
         PARALLEL_DEGREE_LIMIT_P1 => 4);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'maildb_plan',
    GROUP_OR_SUBPLAN => 'Mail_Maintenance_group',COMMENT => 'mail
    maintenance users sessions at level 2', CPU_P1 => 0, CPU_P2 => 20,
         PARALLEL_DEGREE_LIMIT_P1 => 2);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'maildb_plan',
    GROUP_OR_SUBPLAN => 'OTHER_GROUPS', COMMENT => 'all other users
    sessions at level 3', CPU_P1 => 0, CPU_P2 => 0, CPU_P3 =>
         100);
         /* MYDB PLAN에 대한 DIRECTIVE 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'mydb_plan',
    GROUP_OR_SUBPLAN => 'maildb_plan', COMMENT=> 'all mail users
    sessions at level 1', CPU_P1 => 30);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'mydb_plan',
    GROUP_OR_SUBPLAN => 'bugdb_plan', COMMENT => 'all bug users sessions
    at level 1', CPU_P1 => 70);
         /* PLAN schema 작업 내용을 저장 */
         DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
         DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
         end;
    7. CONSUMER GROUP에 사용자나 세션을 할당하는 방법
         먼저 인스턴스에서 사용할 TOP Level resource plan 을 지정한다.
    initSID.ora에 RESOURCE_MANAGER_PLAN = MRDB_PLAN 지정이나 아래와 같이
    session level에 ALTER SYSTEM command를 사용하여 지정한다.
         ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = MYDB_PLAN;
         그리고 SCOTT 계정에 BUG_ONLINE_GROUP과 BUB_BATCH_GROUP 에 속할 수 있는
    권한을 부여     
    DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP ('SCOTT',
    'BUG_ONLINE_GROUP', TRUE);
         DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP ('SCOTT',
    'BUG_BATCH_GROUP', TRUE);
         * DBMS_RESOURCE_MANAGER.SET_INITIAL_CONSUMER_GROUP( user in
    varchar2, consumer_group in varchar2);
         예)
         DBMS_RESOURCE_MANAGER.SET_INITIAL_CONSUMER_GROUP('SCOTT',
    'BUG_ONLINE_GROUP');
         SCOTT 계정을 BUG_BATCH_GROUP에 할당
         * DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_SESS (
                             session_id IN NUMBER,
                             session_serial IN NUMBER,
                             consumer_group IN VARCHAR2);
         예)
         DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_SESS( 11, 2,
    'BUG_ONLINE_GROUP');
         * DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_USER (
                             user IN VARCHAR2,
                             consumer_group IN VARCHAR2);
         예)
         DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_USER('SCOTT',
    'BUG_BATCH_GROUP');
    8. 관련된 Dictionary
    DBA_RSRC_PLANS : Resource plan과 status
    DBA_RSRC_PLAN_DIRECTIVES : Resource plan directives와 status
    DBA_RSRC_CONSUMER_GROUPS : Consumer group과 status
    DBA_RSRC_CONSUMER_GROUP_PRIVS : 사용자에게 부여된 Consumer group
    DBA_USERS : INITIAL_RSRC_CONSUMER_GROUP라는 새로운 column이 추가
    V$SESSION : RESOURCE_CONSUMER_GROUP라는 새로운 column이 추가
    V$RSRC_PLAN : 새로운 view로 active resource plan을 보여준다
    V$RSRC_CONSUMER_GROUP : 새로운 view로 consumer group의 active session
    을 보여준다.
    Reference Ducumment
    ---------------------

    user1 is the schema present in DB1
    user2 is the schema present in DB2. I just have a DB link
    as below:
    create database link link_to_DB2 connect to user2 identified by user2 using 'DB2';---Connects from user1 of DB1 to user2 of DB2.
    Requirement is as below:
    CPU for DB2 - 25%
    Out of above 25%, CPU for user2 - 70%
    CPU for user1 30% -- whenever it conncts using the link)
    Please help me out.

  • Error while executing dbms_resource_manager_privs

    Hi,
    The user SCE has been granted execute on DBMS_RESOURCE_MANAGER and DBMS_RESOURCE_MANGER_PRIVS.
    However, I get the following error while using it.
    SQL> SELECT USER FROM DUAL;
    USER
    SCE
    SQL> select GRANTEE,PRIVILEGE,TABLE_NAME from dba_tab_privs where table_name LIKE 'DBMS_RESOURCE_%';
    GRANTEE PRIVILEGE TABLE_NAME
    PUBLIC EXECUTE DBMS_RESOURCE_MANAGER
    PUBLIC EXECUTE DBMS_RESOURCE_MANAGER_PRIVS
    SCE EXECUTE DBMS_RESOURCE_MANAGER_PRIVS
    SCE EXECUTE DBMS_RESOURCE_MANAGER
    SQL> EXEC dbms_resource_manager_privs.grant_switch_consumer_group('APALVARES','OA_GROUP', false);
    BEGIN dbms_resource_manager_privs.grant_switch_consumer_group('APALVARES','OA_GROUP', false); END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_RMIN", line 460
    ORA-06512: at "SYS.DBMS_RESOURCE_MANAGER_PRIVS", line 99
    ORA-06512: at line 1
    Could you help me regarding this? What extra privileges are needed ?
    Regards,
    Allen

    Hi,
    Thanks for the reply, but it still didn't work even after grant option.
    It finally worked after i gave this from sys user-
    EXEC DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SYSTEM_PRIVILEGE(GRANTEE_NAME => 'SCE', PRIVILEGE_NAME => 'ADMINISTER_RESOURCE_MANAGER',ADMIN_OPTION => FALSE);
    Thanks,
    Allen

  • How to test the parameter new_active_sess_pool_p1

    Dear all,
    How to test the parameter new_active_sess_pool_p1? I have set the new_active_sess_pool_p1=1,and I login db using the user HXL,execute DML and make sure the session is active,now i login the db again and found the new_active_sess_pool_p1 not work,Why?
    Begin
      Dbms_Resource_Manager.Create_Pending_Area();
      Dbms_Resource_Manager.update_Plan_Directive(Plan => 'MAXCAP_PLAN',
                                                  Group_Or_Subplan => 'MAXCAP_PLAN_G1',
                                                  new_active_sess_pool_p1 => 1);
      Dbms_Resource_Manager.Validate_Pending_Area();
      Dbms_Resource_Manager.Submit_Pending_Area();
    End;
    Begin
      Dbms_Resource_Manager.Create_Pending_Area();
      Dbms_Resource_Manager.Set_Consumer_Group_Mapping(Attribute      => Dbms_Resource_Manager.Oracle_User,
                                                       Value          => 'HXL',
                                                       Consumer_Group => 'MAXCAP_PLAN_G1');
      Dbms_Resource_Manager.Validate_Pending_Area();
      Dbms_Resource_Manager.Submit_Pending_Area();
    End;

    Hi,
    The issue have solved,just as run the flowing:
    BEGIN
    DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP (
    GRANTEE_NAME => 'HXL',
    CONSUMER_GROUP => 'MAXCAP_PLAN_G1',
    GRANT_OPTION => TRUE);
    END;

  • Import finished with few errors...Help understanding it!

    Hi all,
    Yesterday, I finished to do an import in oracle. I used the impdp command and got few errors after the import was done. Here are some bits from my log. It was very long but I shortened it with the most common errors. I would appreciate your help understanding what does each error mean, and whether there's a solution available.
    Thanks!
    El sql que falla es:
    CREATE TABLESPACE "SYSAUX" DATAFILE SIZE 125829120 LOGGING ONLINE PERMANENT BLOCKSIZE 16384 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT AUTO
    ORA-39083: Fallo de creación del tipo de objeto TABLESPACE con el error:
    ORA-02236: nombre de archivo no válido
    El sql que falla es:
    CREATE TABLESPACE "IN_SGC_BD" DATAFILE '+DISKGROUP_BD/sgtc/datafile/rsgtc_in_sgt_bd1' SIZE 132120576 LOGGING ONLINE PERMANENT BLOCKSIZE 16384 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT MANUAL
    Procesando el tipo de objeto DATABASE_EXPORT/PASSWORD_VERIFY_FUNCTION
    ORA-31684: El tipo de objeto PASSWORD_VERIFY_FUNCTION ya existe
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT
    ORA-39111: Se ha saltado el tipo de objeto dependiente OBJECT_GRANT:"SYSTEM", ya existe el tipo de objeto base SEQUENCE:"SYSTEM"."SDE_LOGFILE_LID_GEN"
    ORA-39083: Fallo de creación del tipo de objeto SYNONYM con el error:
    ORA-00995: falta el identificador de sinónimos o no es válido
    BEGIN
    dbms_resource_manager.create_consumer_group('AUTO_TASK_CONSUMER_GROUP','System maintenance task consumer group','ROUND-ROBIN');COMMIT; END;
    Procesando el tipo de objeto DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    ORA-39083: Fallo de creación del tipo de objeto PROCACT_SYSTEM con el error:
    ORA-29393: el usuario JAIMESP no existe o no está conectado
    El sql que falla es:
    BEGIN
    dbms_resource_manager.create_plan_directive('PLAN_DIA','SGTC_USR','',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,30,600,5,'SGTC_SWITCH',NULL,TRUE,NULL,10240,1800,900,1800);
    dbms_resource_manager.create_plan_directive('PLAN_DIA','SGTC_EDITOR','',40,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10,600,10,'SGTC_SWITCH',NULL,TRUE,NULL,512000,1800,600,3600);
    dbms_r
    ORA-39083: Fallo de creación del tipo de objeto PROCACT_SYSTEM con el error:
    ORA-06550: línea 2, columna 72:
    PLS-00103: Se ha encontrado el símbolo "CHECK" cuando se esperaba uno de los siguientes:
    in like like2 like4 likec between member submultiset
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39151: La tabla "OUTLN"."OL$" existe. Todos los metadados dependientes y los datos se saltarán debido table_exists_action de saltar
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    . . "SIGELEC"."SDE_BLK_37" 4.976 KB 0 filas importadas
    . . "SIGELEC"."SDE_BLK_38" 4.968 KB 0 filas importadas
    . . "SGC_BD"."BDE_CRECOBJE" 5.234 KB 0 filas importadas
    . . "SIGELEC"."D418" 4.851 KB 0 filas importadas
    . . "SYSTEM"."DBM_TOPSQL" 6.125 KB 0 filas importadas
    . . "SIGELEC"."F100" 5.562 KB 0 filas importadas
    . . "SIGELEC"."F101" 5.593 KB 0 filas importadas
    . . "SIGELEC"."F102" 14.77 KB 11 filas importadas
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/PROCEDURE/ALTER_PROCEDURE
    ORA-39082: El tipo de objeto ALTER_PROCEDURE:"SYSTEM"."GEN_ROLE_SGTC" se ha creado con advertencias de compilación
    ORA-39083: Fallo de creación del tipo de objeto PACKAGE_BODY con el error:
    ORA-04052: se ha producido un error al consultar el objeto remoto ENLACE.ELPQ_DATOPROY@CRE
    ORA-00604: se ha producido un error a nivel 4 de SQL recursivo
    ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado
    ORA-39082: El tipo de objeto TRIGGER:"SIGERED"."TR_CTRL_ENERGIZA" se ha creado con advertencias de compilación
    ORA-39083: Fallo de creación del tipo de objeto TRIGGER con el error:
    ORA-04052: se ha producido un error al consultar el objeto remoto ENLACE.ELPQ_DATOCONS@CRE
    ORA-00604: se ha producido un error a nivel 4 de SQL recursivo
    ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado
    El sql que falla es:
    ALTER TRIGGER "SIGERED"."TR_CTRL_ENERGIZA" COMPILE PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CODE_TYPE= INTERPRETED PLSCOPE_SETTINGS= 'IDENTIFIERS:NONE'
    ORA-39082: El tipo de objeto TRIGGER:"SIGERED"."TR_CTRL_CONCLUYE" se ha creado con advertencias de compilación
    El sql que falla es:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 165, LUSER=> 'SYSTEM', PUSER=> 'SYSTEM', CUSER=> 'SYSTEM', NEXT_DATE=> TO_DATE('2012-05-02 01:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'TRUNC(SYSDATE+1)+1/24', BROKEN=> FALSE, WHAT=> 'dbms_stats.gather_schema_stats(ownname => ''SIGERED'',options => ''GATHER'',estimate_percent => null,method_opt => ''FOR ALL COLUMNS SIZE 1'',cas
    ORA-39083: Fallo de creación del tipo de objeto JOB con el error:
    ORA-00001: restricción única (SYS.I_JOB_JOB) violada
    El sql que falla es:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 47, LUSER=> 'SIGERED', PUSER=> 'SIGERED', CUSER=> 'SIGERED', NEXT_DATE=> TO_DATE('2012-05-02 01:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'TRUNC(SYSDATE+1)+01/24', BROKEN=> FALSE, WHAT=> 'SIGERED.RDPQ_PROYECTOS.PR_PROCESAR;', NLSENV=> 'NLS_LANGUAGE=''AMERICAN'' NLS_TERRITORY=''AMERICA'' NLS_CURRENCY=''$'' NLS_ISO_CURRENCY=''AMERI
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/PASSWORD_HISTORY
    ORA-39083: Fallo de creación del tipo de objeto PASSWORD_HISTORY con el error:
    ORA-01858: se ha encontrado un carácter no numérico donde se esperaba uno numérico
    El trabajo "SYS"."SYS_IMPORT_FULL_01" ha terminado con 2249 error(es) en 17:21:02

    Hello people,
    I just run for the second time a full import, and it said it finished correctly.
    The first time I run it, there was a message which said that the import had finished with 2249 errors (I checked my log and not all of them were errors but messages). I checked each single message and only had to solve a couple of things.
    I first created a user in response to an ora-29393: user string does not exist or is not logged on.
    The second thing I did was to run the utlrp.sql file in response to an ORA-39082. I did this according to this blog.
    I know oracle is taking precedence each time I run an import. I don’t know if what I have done is okay or perhaps not all data was imported after all. This is the thread which I posted initially when errors came out.
    Any reply is a supply.
    Thanks loads

  • Full import/export from 10gR2 to 11gR1 / ORA-39083: Object type PROCACT_SYS

    Hi,
    I did a full db export/import (data pump - skipped existing objects) from 10gR2 to 11gR1 (win2003 server). it looks like everything went fine except with this error:
    is this a serious error? what should I do to fix this error?
    ORA-39083: Object type PROCACT_SYSTEM failed to create with error:
    ORA-20000: Incompatible version of Workspace Manager Installed
    Failing sql is:
    BEGIN
    declare ver varchar2(100) ; dummy integer; compile_exception EXCEPTION; PRAGMA EXCEPTION_INIT(compile_exception, -06550); invalid_table EXCEPTION; PRAGMA EXCEPTION_INIT(invalid_table, -00942); procedure createErrorProc is begin execute immediate 'create or replace function system.wm$_check_install return boolean is begin return true ; end;' ; end ; begin
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
    ORA-39083: Object type PROCOBJ failed to create with error:
    ORA-29357: object AUTO_TASK_CONSUMER_GROUP already exists
    Failing sql is:
    BEGIN
    dbms_resource_manager.create_consumer_group('AUTO_TASK_CONSUMER_GROUP','System maintenance task consumer group','ROUND-ROBIN');COMMIT; END;
    ORA-39083: Object type PROCOBJ failed to create with error:
    ORA-06550: line 2, column 1:
    PLS-00201: identifier 'BMS_SCHEDULER.DISABLE' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    Failing sql is:
    BEGIN
    bms_scheduler.disable( 'SYS."WEEKNIGHT_WINDOW"',force=>TRUE);
    dbms_scheduler.set_attribute_null( 'SYS."WEEKNIGHT_WINDOW"','SCHEDULE_NAME');
    dbms_scheduler.set_attribute_null( 'SYS."WEEKNIGHT_WINDOW"','START_DATE');
    dbms_scheduler.set_attribute_null( 'SYS."WEEKNIGHT_WINDOW"','END_
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00439: feature not enabled: Partitioning
    Failing sql is:
    CREATE TABLE "SYSTEM"."LOGSTDBY$APPLY_PROGRESS" ("XIDUSN" NUMBER, "XIDSLT" NUMBER, "XIDSQN" NUMBER, "COMMIT_SCN" NUMBER, "COMMIT_TIME" DATE, "SPARE1" NUMBER, "SPARE2" NUMBER, "SPARE3" VARCHAR2(2000)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE( BUFFER_POOL DEFAULT) TABLESPACE "SYSAUX" PARTITION BY RANGE ("COMMIT_SCN") (PARTITION "P0" VALUES LESS THAN (0) PCTFREE 10 PCTUSED 4
    ORA-39151: Table "SYSMAN"."AQ$_MGMT_NOTIFY_QTABLE_T" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
    ORA-39151: Table "SYSMAN"."AQ$_MGMT_NOTIFY_QTABLE_H" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
    Edited by: Odeh on Jul 29, 2009 12:49 PM
    Edited by: Odeh on Jul 29, 2009 1:12 PM

    Pl see if these MOS Docs help
    730373.1 - ORA-39083 ORA-20000 Incompatible Version of Workspace Manager Installed
    743097.1 - IMP-00017 ORA-20000 Importing older version of OWM into a higher version
    HTH
    Srini

  • Resource Manager

    Hi All,
    I would like to implement resource manager via oracle service. Code is as follows:
    exec DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
    exec DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'my_plan',COMMENT => 'Resource plan/method for ERP Database');
    exec DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP => 'normal',COMMENT => 'Resource consumer group/method for normal jobs');
    exec DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP => 'adhoc',COMMENT => 'Resource consumer group/method for adhoc jobs');
    exec DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'my_plan',GROUP_OR_SUBPLAN => 'normal', COMMENT => 'normal sessions');
    exec DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'my_plan', GROUP_OR_SUBPLAN => 'adhoc', COMMENT => 'adhoc sessions');
    exec DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'my_plan', GROUP_OR_SUBPLAN => 'OTHER_GROUPS', COMMENT => 'mandatory');
    EXEC DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING(DBMS_RESOURCE_MANAGER.SERVICE_name , 'goslive', 'normal');
    EXEC DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING(DBMS_RESOURCE_MANAGER.SERVICE_name , 'test', 'adhoc');
    exec dbms_resource_manager.set_consumer_group_mapping_pri(2, 7,1, 9, 8, 10, 5, 4, 3, 6);
    exec DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
    exec DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
    ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = 'my_plan';
    But looks like it doesn't work. Any idea what i'm missing.
    Same code if I use with user name wise it works fine, as I can assign initial consumer group for the user. But not able to assign initial consumer group to the service.
    Please advice.
    Thanks,
    Hal.

    It seems that we need to grant the switch privileges with Oracle 10.2.
    If granting the switch privilege is not done, any connection is assigned to the OTHER_GROUPS resource consumer group.
    Here is my test case.
    Setup:
    bas002> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
    PL/SQL Release 10.2.0.2.0 - Production
    CORE    10.2.0.2.0      Production
    TNS for 32-bit Windows: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    bas002>
    bas002> ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = '';
    System altered.
    bas002> begin
      2  DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
      3  DBMS_RESOURCE_MANAGER.DELETE_PLAN_CASCADE('MY_PLAN');
      4  DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    bas002> show errors
    No errors.
    bas002>
    bas002>
    bas002>
    bas002> alter system set service_names='TEST, GOSLIVE';
    System altered.
    bas002>
    bas002> begin
      2  DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA();
      3  DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
      4  DBMS_RESOURCE_MANAGER.CREATE_PLAN(
      5          PLAN => 'MY_PLAN',
      6          COMMENT => 'Resource plan/method for ERP Database');
      7  DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(
      8          CONSUMER_GROUP => 'NORMAL',
      9          COMMENT => 'Resource consumer group/method for normal jobs');
    10  DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(
    11          CONSUMER_GROUP => 'ADHOC',
    12          COMMENT => 'Resource consumer group/method for adhoc jobs');
    13  DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
    14          PLAN => 'MY_PLAN',
    15          GROUP_OR_SUBPLAN => 'NORMAL',
    16          COMMENT => 'normal sessions');
    17  DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
    18          PLAN => 'MY_PLAN',
    19          GROUP_OR_SUBPLAN => 'ADHOC',
    20          COMMENT => 'adhoc sessions');
    21  DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
    22          PLAN => 'MY_PLAN',
    23          GROUP_OR_SUBPLAN => 'OTHER_GROUPS',
    24          COMMENT => 'mandatory');
    25  DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING(
    26          DBMS_RESOURCE_MANAGER.SERVICE_NAME , 'GOSLIVE', 'NORMAL');
    27  DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING(
    28          DBMS_RESOURCE_MANAGER.SERVICE_NAME , 'TEST', 'ADHOC');
    29  DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
    30  DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
    31  end;
    32  /
    PL/SQL procedure successfully completed.
    bas002> show errors
    No errors.
    bas002>
    bas002> begin
      2  DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP('O', 'NORMAL', false);
      3  DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP('O', 'ADHOC', false);
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    bas002> show errors
    No errors.
    bas002>
    bas002> ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = 'MY_PLAN';
    System altered.Connection tests:
    bas002> select username, service_name, resource_consumer_group from v$session where username ='O';
    USERNAME
    SERVICE_NAME
    RESOURCE_CONSUMER_GROUP
    O
    TEST
    ADHOC
    bas002> select username, service_name, resource_consumer_group from v$session where username ='O';
    USERNAME
    SERVICE_NAME
    RESOURCE_CONSUMER_GROUP
    O
    goslive
    NORMAL.

  • Resource Manager question

    Hi,
    In 10g , Automatically Assigning Resource Consumer Groups to Sessions done by using the following package:
    DBMS_RESOURCE_MANAGER.set_consumer_group_mapping (
    attribute IN VARCHAR2,
    value IN VARCHAR2,
    consumer_group IN VARCHAR2 DEFAULT NULL)
    For example:
    DBMS_RESOURCE_MANAGER.set_consumer_group_mapping (
    attribute => DBMS_RESOURCE_MANAGER.module_name,
    value => 'TOAD',
    consumer_group => 'TOOLS_GROUP');
    In case that i have few version of the same tool such as: TOAD 9.5.0.31 , TOAD 8.1 and so on (found under module_name column in v$session)
    than i have to attache each UNIQUE module to the procedure :DBMS_RESOURCE_MANAGER.set_consumer_group_mapping
    Is there an option to pass entry like %TOAD% ?
    Thanks

    Is there an option to pass entry like %TOAD% ?
    Nope, I don't think so, couldn't find anything like that in the docs.
    Aman....

Maybe you are looking for