|
第三阶段New Feature/OCM Exam Preparation(31-58)
新特性第19章:
- select * from dba_objects
- where object_name like 'DBMS_LOG%';\
- ---
-
- select * from dba_directories;
-
- create directory dir1 as '/home/oracle/dir1';
-
-
- create directory dir2 as '/home/oracle/dir2';
-
- grant all on directory dir1 to hr;
-
- grant all on directory dir2 to hr;
复制代码
- expdp hr/oracle_4U directory=dir1 dumpfile=dir1:a1_%U.dmp,dir2:a2_%U.dmp tables=t_big filesize=10M
复制代码 在Linux上作,要考虑转意:
- expdp hr/oracle_4U directory=dir1 dumpfile=a3.dmp schemas=hr job_name=a3_job exclude=table:"in \(\'T_BANK_INVOICE\'\)", procedure:" in \(\'SECURE_DML\'\)" "query='employees:where department_id=90'"
复制代码
parfile:
- directory=dir1
- dumpfile=a4.dmp
- schemas=hr
- job_name=a4
- exclude=table:"in ('T_BANK_INVOICE')", procedure:"in ('SECURE_DML')" , constraint
- query='employees:where department_id=90'
复制代码 带建用户命令导出:
- directory=dir1
- dumpfile=a5.dmp
- schemas=hr
- job_name=a5
- exclude=table:"in ('T_BANK_INVOICE')", procedure:"in ('SECURE_DML')" , constraint
- query='hr.employees:where department_id=90'
复制代码- expdp system/oracle_4U parfile='/home/oracle/a5.par'
复制代码- impdp system/oracle_4U directory=dir1 dumpfile=a5.dmp remap_schema=hr:user3
复制代码
---
- run{
- duplicate target database to db11g
- from active database
- nofilenamecheck
- spfile
- set
- control_files='/u01/app/oracle/oradata/db11g/control01.ctl','/u01/app/oracle/oradata/db11g/control02.ctl','/u01/app/oracle/oradata/db11g/control03.ctl'
- set
- db_file_name_convert='+DATA/orcl/datafile/example.265.832197353','/u01/app/oracle/oradata/db11g/example01.dbf','+DATA/orcl/datafile/users.259.832197065','/u01/app/oracle/oradata/db11g/users01.dbf','+DATA/orcl/datafile/undotbs1.258.832197065','/u01/app/oracle/oradata/db11g/undotbs01.dbf','+DATA/orcl/datafile/sysaux.257.832197065','/u01/app/oracle/oradata/db11g/sysaux01.dbf','+DATA/orcl/datafile/system.256.832197063','/u01/app/oracle/oradata/db11g/system01.dbf'
- set
- log_file_name_convert='+DATA/orcl/onlinelog/group_1.261.832197287','/u01/app/oracle/oradata/db11g/redo01a.log','+FRA/orcl/onlinelog/group_1.257.832197291','/u01/app/oracle/oradata/db11g/redo01b.log','+DATA/orcl/onlinelog/group_3.263.832197301','/u01/app/oracle/oradata/db11g/redo03a.log','+FRA/orcl/onlinelog/group_3.259.832197305','/u01/app/oracle/oradata/db11g/redo03b.log','+DATA/orcl/onlinelog/group_2.262.832197293','/u01/app/oracle/oradata/db11g/redo02a.log','+FRA/orcl/onlinelog/group_2.258.832197299','/u01/app/oracle/oradata/db11g/redo02b.log';
- set
- audit_file_dest='/u01/app/oracle/admin/db11g/adump'
- set
- db_create_file_dest=''
- set
- db_recovery_file_dest='/u01/app/oracle/flash_recovery_area';
- }
复制代码
新的set newname 克隆语法:
ASM到ASM:
- RUN
- {
- allocate channel c1 device type disk;
- allocate channel c2 device type disk;
- allocate channel c3 device type disk;
- allocate channel c4 device type disk;
- allocate channel c5 device type disk;
- allocate channel c6 device type disk;
- allocate channel c7 device type disk;
- allocate channel c8 device type disk;
- allocate auxiliary channel c9 device type disk;
- allocate auxiliary channel c10 device type disk;
- allocate auxiliary channel c11 device type disk;
- allocate auxiliary channel c12 device type disk;
- allocate auxiliary channel c13 device type disk;
- allocate auxiliary channel c14 device type disk;
- allocate auxiliary channel c15 device type disk;
- allocate auxiliary channel c16 device type disk;
- DUPLICATE TARGET DATABASE TO db11g
- from active database
- nofilenamecheck
- spfile
- set
- control_files='+DATA','+FRA'
- set
- audit_file_dest='/u01/app/oracle/admin/db11g/adump';
- }
复制代码 新的set newname 克隆语法:
ASM到FILE SYSTEM:
- RUN
- {
- allocate channel c1 device type disk;
- allocate channel c2 device type disk;
- allocate channel c3 device type disk;
- allocate channel c4 device type disk;
- allocate channel c5 device type disk;
- allocate channel c6 device type disk;
- allocate channel c7 device type disk;
- allocate channel c8 device type disk;
- allocate auxiliary channel c9 device type disk;
- allocate auxiliary channel c10 device type disk;
- allocate auxiliary channel c11 device type disk;
- allocate auxiliary channel c12 device type disk;
- allocate auxiliary channel c13 device type disk;
- allocate auxiliary channel c14 device type disk;
- allocate auxiliary channel c15 device type disk;
- allocate auxiliary channel c16 device type disk;
- SET NEWNAME FOR DATABASE TO '/u01/app/oracle/oradata/new11g/%b';
- DUPLICATE TARGET DATABASE TO new11g
- from active database
- nofilenamecheck
- LOGFILE
- GROUP 1 ('/u01/app/oracle/oradata/new11g/redo01a.log',
- '/u01/app/oracle/oradata/new11g/redo01b.log') SIZE 50M REUSE,
- GROUP 2 ('/u01/app/oracle/oradata/new11g/redo02a.log',
- '/u01/app/oracle/oradata/new11g/redo02b.log') SIZE 50M REUSE,
- GROUP 3 ('/u01/app/oracle/oradata/new11g/redo03a.log',
- '/u01/app/oracle/oradata/new11g/redo03b.log') SIZE 50M REUSE
- spfile
- set
- memory_max_target='2G'
- set
- memory_target='2G'
- set
- control_files='/u01/app/oracle/oradata/new11g/control01.ctl','/u01/app/oracle/oradata/new11g/control02.ctl','/u01/app/oracle/oradata/new11g/control03.ctl'
- set
- audit_file_dest='/u01/app/oracle/admin/new11g/adump'
- set
- db_create_file_dest=''
- set
- db_recovery_file_dest='/u01/app/oracle/flash_recovery_area';
- }
复制代码
TARGETLESS 克隆:
源头库作备份:
- run {
- allocate channel c1 device type disk format '/home/oracle/backup/%U';
- allocate channel c2 device type disk format '/home/oracle/backup/%U';
- allocate channel c3 device type disk format '/home/oracle/backup/%U';
- allocate channel c4 device type disk format '/home/oracle/backup/%U';
- allocate channel c5 device type disk format '/home/oracle/backup/%U';
- allocate channel c6 device type disk format '/home/oracle/backup/%U';
- allocate channel c7 device type disk format '/home/oracle/backup/%U';
- allocate channel c8 device type disk format '/home/oracle/backup/%U';
- backup database plus archivelog force;
- backup spfile;
- backup current controlfile;
- }
复制代码 rman auxiliary sys/oracle_4U@yourdb
- run{
- allocate auxiliary channel c1 device type disk;
- allocate auxiliary channel c2 device type disk;
- allocate auxiliary channel c3 device type disk;
- allocate auxiliary channel c4 device type disk;
- allocate auxiliary channel c5 device type disk;
- allocate auxiliary channel c6 device type disk;
- allocate auxiliary channel c7 device type disk;
- allocate auxiliary channel c8 device type disk;
- SET NEWNAME FOR DATABASE TO '/u01/app/oracle/oradata/yourdb/%b';
- duplicate target database to yourdb
- backup location '/home/oracle/backup'
- nofilenamecheck
- skip tablespace example
- LOGFILE
- GROUP 1 ('/u01/app/oracle/oradata/yourdb/redo01a.log',
- '/u01/app/oracle/oradata/yourdb/redo01b.log') SIZE 50M REUSE,
- GROUP 2 ('/u01/app/oracle/oradata/yourdb/redo02a.log',
- '/u01/app/oracle/oradata/yourdb/redo02b.log') SIZE 50M REUSE,
- GROUP 3 ('/u01/app/oracle/oradata/yourdb/redo03a.log',
- '/u01/app/oracle/oradata/yourdb/redo03b.log') SIZE 50M REUSE
- spfile
- set
- control_files='/u01/app/oracle/oradata/yourdb/control01.ctl','/u01/app/oracle/oradata/yourdb/control02.ctl','/u01/app/oracle/oradata/yourdb/control03.ctl'
- set
- audit_file_dest='/u01/app/oracle/admin/yourdb/adump'
- set
- db_create_file_dest=''
- set
- db_recovery_file_dest='/u01/app/oracle/flash_recovery_area';
- }
复制代码 TSPITR:
- SQL> drop table TTESTBOTANG_5;
- Table dropped.
- SQL> alter database default tablespace example;
- Database altered.
复制代码- RMAN> run {
- 2> sql "alter session set nls_date_format=''YYYY-MM-DD:HH24:MI:SS''";
- 3> recover tablespace users until time '2017-09-25:11:01:04'
- 4> auxiliary destination '/u01/app/oracle/oradata';
- 5> }
- sql statement: alter session set nls_date_format=''YYYY-MM-DD:HH24:MI:SS''
- Starting recover at 2017-09-25:11:23:34
- using channel ORA_DISK_1
- using channel ORA_DISK_2
- using channel ORA_DISK_3
- using channel ORA_DISK_4
- using channel ORA_DISK_5
- using channel ORA_DISK_6
- using channel ORA_DISK_7
- using channel ORA_DISK_8
- using channel ORA_SBT_TAPE_1
- using channel ORA_SBT_TAPE_2
- Creating automatic instance, with SID='eEeq'
- initialization parameters used for automatic instance:
- db_name=ORCL
- db_unique_name=eEeq_tspitr_ORCL
- compatible=11.2.0.0.0
- db_block_size=8192
- db_files=200
- sga_target=280M
- processes=50
- db_create_file_dest=/u01/app/oracle/oradata
- log_archive_dest_1='location=/u01/app/oracle/oradata'
- #No auxiliary parameter file used
- starting up automatic instance ORCL
- Oracle instance started
- Total System Global Area 292278272 bytes
- Fixed Size 2212736 bytes
- Variable Size 100666496 bytes
- Database Buffers 184549376 bytes
- Redo Buffers 4849664 bytes
- Automatic instance created
- Running TRANSPORT_SET_CHECK on recovery set tablespaces
- TRANSPORT_SET_CHECK completed successfully
- contents of Memory Script:
- {
- # set requested point in time
- set until time "2017-09-25:11:01:04";
- # restore the controlfile
- restore clone controlfile;
- # mount the controlfile
- sql clone 'alter database mount clone database';
- # archive current online log
- sql 'alter system archive log current';
- # avoid unnecessary autobackups for structural changes during TSPITR
- sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
- # resync catalog
- resync catalog;
- }
- executing Memory Script
- executing command: SET until clause
- Starting restore at 2017-09-25:11:24:41
- allocated channel: ORA_AUX_DISK_1
- channel ORA_AUX_DISK_1: SID=81 device type=DISK
- allocated channel: ORA_AUX_DISK_2
- channel ORA_AUX_DISK_2: SID=5 device type=DISK
- allocated channel: ORA_AUX_DISK_3
- channel ORA_AUX_DISK_3: SID=30 device type=DISK
- allocated channel: ORA_AUX_DISK_4
- channel ORA_AUX_DISK_4: SID=56 device type=DISK
- allocated channel: ORA_AUX_DISK_5
- channel ORA_AUX_DISK_5: SID=82 device type=DISK
- allocated channel: ORA_AUX_DISK_6
- channel ORA_AUX_DISK_6: SID=6 device type=DISK
- allocated channel: ORA_AUX_DISK_7
- channel ORA_AUX_DISK_7: SID=31 device type=DISK
- allocated channel: ORA_AUX_DISK_8
- channel ORA_AUX_DISK_8: SID=57 device type=DISK
- allocated channel: ORA_AUX_SBT_TAPE_1
- channel ORA_AUX_SBT_TAPE_1: SID=83 device type=SBT_TAPE
- channel ORA_AUX_SBT_TAPE_1: Oracle Secure Backup
- allocated channel: ORA_AUX_SBT_TAPE_2
- channel ORA_AUX_SBT_TAPE_2: SID=7 device type=SBT_TAPE
- channel ORA_AUX_SBT_TAPE_2: Oracle Secure Backup
- channel ORA_AUX_SBT_TAPE_1: starting datafile backup set restore
- channel ORA_AUX_SBT_TAPE_1: restoring control file
- channel ORA_AUX_SBT_TAPE_1: reading from backup piece c-1343950367-20170518-00
- channel ORA_AUX_SBT_TAPE_1: piece handle=c-1343950367-20170518-00 tag=TAG20170518T164400
- channel ORA_AUX_SBT_TAPE_1: restored backup piece 1
- channel ORA_AUX_SBT_TAPE_1: restore complete, elapsed time: 00:00:25
- output file name=/u01/app/oracle/oradata/ORCL/controlfile/o1_mf_dwjxrcnh_.ctl
- Finished restore at 2017-09-25:11:25:09
- sql statement: alter database mount clone database
- sql statement: alter system archive log current
- sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
- starting full resync of recovery catalog
- full resync complete
- contents of Memory Script:
- {
- # set requested point in time
- set until time "2017-09-25:11:01:04";
- # set destinations for recovery set and auxiliary set datafiles
- set newname for clone datafile 1 to new;
- set newname for clone datafile 3 to new;
- set newname for clone datafile 2 to new;
- set newname for clone tempfile 1 to new;
- set newname for datafile 4 to
- "+DATA/orcl/datafile/users.259.816169553";
- # switch all tempfiles
- switch clone tempfile all;
- # restore the tablespaces in the recovery set and the auxiliary set
- restore clone datafile 1, 3, 2, 4;
- switch clone datafile all;
- }
- executing Memory Script
- executing command: SET until clause
- executing command: SET NEWNAME
- executing command: SET NEWNAME
- executing command: SET NEWNAME
- executing command: SET NEWNAME
- executing command: SET NEWNAME
- renamed tempfile 1 to /u01/app/oracle/oradata/ORCL/datafile/o1_mf_temp_%u_.tmp in control file
- Starting restore at 2017-09-25:11:25:16
- using channel ORA_AUX_DISK_1
- using channel ORA_AUX_DISK_2
- using channel ORA_AUX_DISK_3
- using channel ORA_AUX_DISK_4
- using channel ORA_AUX_DISK_5
- using channel ORA_AUX_DISK_6
- using channel ORA_AUX_DISK_7
- using channel ORA_AUX_DISK_8
- using channel ORA_AUX_SBT_TAPE_1
- using channel ORA_AUX_SBT_TAPE_2
- channel ORA_AUX_SBT_TAPE_1: starting datafile backup set restore
- channel ORA_AUX_SBT_TAPE_1: specifying datafile(s) to restore from backup set
- channel ORA_AUX_SBT_TAPE_1: restoring datafile 00003 to /u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_%u_.dbf
- channel ORA_AUX_SBT_TAPE_1: restoring datafile 00002 to /u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_%u_.dbf
- channel ORA_AUX_SBT_TAPE_1: restoring datafile 00004 to +DATA/orcl/datafile/users.259.816169553
- channel ORA_AUX_SBT_TAPE_1: reading from backup piece 13s4ih4j_1_1
- channel ORA_AUX_SBT_TAPE_2: starting datafile backup set restore
- channel ORA_AUX_SBT_TAPE_2: specifying datafile(s) to restore from backup set
- channel ORA_AUX_SBT_TAPE_2: restoring datafile 00001 to /u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_%u_.dbf
- channel ORA_AUX_SBT_TAPE_2: reading from backup piece 12s4ih4j_1_1
- channel ORA_AUX_SBT_TAPE_2: piece handle=12s4ih4j_1_1 tag=0T_INCR0_WHOLE
- channel ORA_AUX_SBT_TAPE_2: restored backup piece 1
- channel ORA_AUX_SBT_TAPE_2: restore complete, elapsed time: 00:00:25
- channel ORA_AUX_SBT_TAPE_1: piece handle=13s4ih4j_1_1 tag=0T_INCR0_WHOLE
- channel ORA_AUX_SBT_TAPE_1: restored backup piece 1
- channel ORA_AUX_SBT_TAPE_1: restore complete, elapsed time: 00:00:35
- Finished restore at 2017-09-25:11:25:55
- datafile 1 switched to datafile copy
- input datafile copy RECID=5 STAMP=955625155 file name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_dwjxsjvk_.dbf
- datafile 3 switched to datafile copy
- input datafile copy RECID=6 STAMP=955625155 file name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_dwjxslyk_.dbf
- datafile 2 switched to datafile copy
- input datafile copy RECID=7 STAMP=955625155 file name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_dwjxslp9_.dbf
- contents of Memory Script:
- {
- # set requested point in time
- set until time "2017-09-25:11:01:04";
- # online the datafiles restored or switched
- sql clone "alter database datafile 1 online";
- sql clone "alter database datafile 3 online";
- sql clone "alter database datafile 2 online";
- sql clone "alter database datafile 4 online";
- # recover and open resetlogs
- recover clone database tablespace "USERS", "SYSTEM", "UNDOTBS1", "SYSAUX" delete archivelog;
- alter clone database open resetlogs;
- }
- executing Memory Script
- executing command: SET until clause
- sql statement: alter database datafile 1 online
- sql statement: alter database datafile 3 online
- sql statement: alter database datafile 2 online
- sql statement: alter database datafile 4 online
- Starting recover at 2017-09-25:11:25:55
- using channel ORA_AUX_DISK_1
- using channel ORA_AUX_DISK_2
- using channel ORA_AUX_DISK_3
- using channel ORA_AUX_DISK_4
- using channel ORA_AUX_DISK_5
- using channel ORA_AUX_DISK_6
- using channel ORA_AUX_DISK_7
- using channel ORA_AUX_DISK_8
- using channel ORA_AUX_SBT_TAPE_1
- using channel ORA_AUX_SBT_TAPE_2
- starting media recovery
- archived log for thread 1 with sequence 20 is already on disk as file +FRA/orcl/archivelog/2017_09_25/thread_1_seq_20.262.955623659
- archived log for thread 1 with sequence 21 is already on disk as file +FRA/orcl/archivelog/2017_09_25/thread_1_seq_21.261.955623659
- archived log for thread 1 with sequence 22 is already on disk as file +FRA/orcl/archivelog/2017_09_25/thread_1_seq_22.263.955623671
- channel ORA_AUX_SBT_TAPE_1: starting archived log restore to default destination
- channel ORA_AUX_SBT_TAPE_1: restoring archived log
- archived log thread=1 sequence=19
- channel ORA_AUX_SBT_TAPE_1: reading from backup piece 14s4ih5n_1_1
- channel ORA_AUX_SBT_TAPE_1: piece handle=14s4ih5n_1_1 tag=0T_INCR0_WHOLE
- channel ORA_AUX_SBT_TAPE_1: restored backup piece 1
- channel ORA_AUX_SBT_TAPE_1: restore complete, elapsed time: 00:00:25
- archived log file name=/u01/app/oracle/oradata/1_19_816169635.dbf thread=1 sequence=19
- channel clone_default: deleting archived log(s)
- archived log file name=/u01/app/oracle/oradata/1_19_816169635.dbf RECID=12 STAMP=955625173
- archived log file name=+FRA/orcl/archivelog/2017_09_25/thread_1_seq_20.262.955623659 thread=1 sequence=20
- archived log file name=+FRA/orcl/archivelog/2017_09_25/thread_1_seq_21.261.955623659 thread=1 sequence=21
- archived log file name=+FRA/orcl/archivelog/2017_09_25/thread_1_seq_22.263.955623671 thread=1 sequence=22
- media recovery complete, elapsed time: 00:00:05
- Finished recover at 2017-09-25:11:26:28
- database opened
- contents of Memory Script:
- {
- # make read only the tablespace that will be exported
- sql clone 'alter tablespace USERS read only';
- # create directory for datapump import
- sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''
- /u01/app/oracle/oradata''";
- # create directory for datapump export
- sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''
- /u01/app/oracle/oradata''";
- }
- executing Memory Script
- sql statement: alter tablespace USERS read only
- sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/u01/app/oracle/oradata''
- sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/u01/app/oracle/oradata''
- Performing export of metadata...
- EXPDP> Starting "SYS"."TSPITR_EXP_eEeq":
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_BODY
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/XMLSCHEMA/XMLSCHEMA
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/REF_CONSTRAINT
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/TRIGGER
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/RLS_POLICY
- EXPDP> Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
- EXPDP> Master table "SYS"."TSPITR_EXP_eEeq" successfully loaded/unloaded
- EXPDP> ******************************************************************************
- EXPDP> Dump file set for SYS.TSPITR_EXP_eEeq is:
- EXPDP> /u01/app/oracle/oradata/tspitr_eEeq_35248.dmp
- EXPDP> ******************************************************************************
- EXPDP> Datafiles required for transportable tablespace USERS:
- EXPDP> +DATA/orcl/datafile/users.259.816169553
- EXPDP> Job "SYS"."TSPITR_EXP_eEeq" successfully completed at 11:27:22
- Export completed
- contents of Memory Script:
- {
- # shutdown clone before import
- shutdown clone immediate
- # drop target tablespaces before importing them back
- sql 'drop tablespace USERS including contents keep datafiles';
- }
- executing Memory Script
- database closed
- database dismounted
- Oracle instance shut down
- sql statement: drop tablespace USERS including contents keep datafiles
- Performing import of metadata...
- IMPDP> Master table "SYS"."TSPITR_IMP_eEeq" successfully loaded/unloaded
- IMPDP> Starting "SYS"."TSPITR_IMP_eEeq":
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
- IMPDP> Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
- Removing automatic instance
- Automatic instance removed
- auxiliary instance file /u01/app/oracle/oradata/ORCL/datafile/o1_mf_temp_dwjxv6jw_.tmp deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_dwjxv5dz_.log deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_2_dwjxv57n_.log deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_1_dwjxv528_.log deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_dwjxslp9_.dbf deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_dwjxslyk_.dbf deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_dwjxsjvk_.dbf deleted
- auxiliary instance file /u01/app/oracle/oradata/ORCL/controlfile/o1_mf_dwjxrcnh_.ctl deleted
- RMAN-00571: ===========================================================
- RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
- RMAN-00571: ===========================================================
- RMAN-03002: failure of recover command at 09/25/2017 11:27:41
- RMAN-06963: Error received during import of metadata
- RMAN-06961: IMPDP> ORA-31684: Object type TYPE:"OE"."SHIPPING_INSTRUCTIONS_T" already existsORA-31684: Object type TYPE:"OE"."REJECTION_T" already existsORA-31684: Object type TYPE:"OE"."ACTION_T" already existsORA-31684: Object type TYPE:"OE"."PART_T" already existsORA-31684: Object type TYPE:"OE"."PRODUCT_REF_LIST_TYP" already existsORA-31684: Object type TYPE:"OE"."CATEGORY_TYP" already existsORA-31684: Object type TYPE:"OE"."SUBCATEGORY_REF_LIST_TYP" already existsORA-31684: Object type TYPE:"OE"."ACTION_V" already exists
- RMAN>
复制代码
|
|