RMAN RECOVER TABLE Feature New to Oracle Database 12c (Doc ID 1521524.1)

APPLIES TO:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 19-July-2015***

PURPOSE

Overview of the new RECOVER TABLE feature in Oracle Database 12c.   Oracle Database 12c中新的RECOVER TABLE功能概述

SCOPE

DBAs supporting large databases with backups made via RMAN.  Knowledge of RMAN and its architecture is required.

DETAILS

NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample schema(s), Public Documentation delivered with an Oracle database product or other training material. Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.

For the purposes of this document, the following fictitious environment is used as an example to describe the procedure:  为了本文档的目的,以下虚拟环境用作描述此过程的示例

Target Database:
DB_NAME: T12CCDB
PDB_NAME: T12CPDB1
SCHEMA: SMEDS
TABLE: RECTEST
NEW_TABLE: TEST_RECTEST
AUXILIARY_LOCATION: /testcases/rectbl/

***********  

The RECOVER TABLE command is a new feature in 12C that allows point in time recovery of a table or a table partition.  RECOVER TABLE命令是12C中的一项新功能,它允许对表或表分区进行时间点恢复
The table is recovered into an auxiliary instance and there is the option to:  该表将恢复到辅助实例中,并且可以选择

  • import the recovered table into a new table or partition using REMAP option  使用REMAP选项将恢复的表导入到新表或分区中
  • create the expdp dump of the recovered table only, for import at a later time of your choosing  仅创建已恢复表的expdp dump,以供以后选择时导入

Pre-requisites:  先决条件

  • The target database must be in read-write mode.  目标数据库必须处于读写模式
  • The target database must be in ARCHIVELOG mode.  目标数据库必须处于ARCHIVELOG模式
  • You must have RMAN backups of the tables or table partitions as they existed at the point in time to which you want recover  these objects.  您必须具有要恢复这些对象的时间点上存在的表或表分区的RMAN备份
  • To recover single table partitions, the COMPATIBLE initialization parameter for target database must be set to 11.1.0 or higher.  要恢复单个表分区,目标数据库的COMPATIBLE初始化参数必须设置为11.1.0或更高
  • Please ensure the auxiliary destination has enough space for  restore of system, sysaux ,undo  and the required tablespace for the table recovery.  请确保辅助目标有足够的空间来还原系统,sysaux,undo和恢复表所需的表空间
    Please note these files in auxiliary destination would removed automatically once the table is recovery  请注意,一旦恢复表,辅助目标中的这些文件将自动删除

Setting the Point-in-time to Which Tables and Table Partitions Must be Recovered  设置必须恢复表和表分区的时间点
Options are:  选项有

  • SCN
  • Time
  • Sequence number

The ROOT container SYSTEM and UNDO tablespaces are restored to the auxiliary therefore RECOVER TABLE has to be run after a direct connection to ROOT CDB.  If a service_name is not used, RMAN will fail during export:
ROOT 容器 SYSTEM 和 UNDO 表空间已还原到辅助表,因此在直接连接到ROOT CDB之后必须运行RECOVER TABLE。如果未使用service_name,则RMAN在导出期间将失败

% rman target / log /tmp/recover_table.log
RMAN> RECOVER TABLE SMEDS."RECTEST" OF PLUGGABLE DATABASE T12CPDB1
UNTIL SEQUENCE 48 THREAD 1
AUXILIARY DESTINATION '/testcases/rectbl/'
REMAP TABLE 'SMEDS'.'RECTEST':'TEST_RECTEST'; RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/21/2013 15:24:19
RMAN-06962: Error received during export of metadata
RMAN-06960: EXPDP> ORA-31626: job does not exist
ORA-31633: unable to create master table "SYSBACKUP.TSPITR_EXP_xoxr_CDcd"
ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'

Point in Time TABLE RECOVERY Example  时间点表恢复示例

Table RECTEST in schema SMEDS to be recovered into new table SMEDS.TEST_RECTEST.  schema SMEDS中的表R​​ECTEST要恢复到新表SMEDS.TEST_RECTEST中。
The auxiliary instance datafiles will be restored to '/testcases/rectbl/'.   辅助实例数据文件将还原到 '/testcases/rectbl/'。

% rman target sys/<password>@t12ccdb log /tmp/recover_table.log
RMAN> RECOVER TABLE SMEDS."RECTEST" OF PLUGGABLE DATABASE T12CPDB1
UNTIL SEQUENCE 64 thread 1
AUXILIARY DESTINATION '/testcases/rectbl/'
REMAP TABLE 'SMEDS'.'RECTEST':'TEST_RECTEST'; Starting recover at 21-JAN-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=16 device type=DISK
RMAN-05026: WARNING: presuming following set of tablespaces applies to specified Point-in-Time List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1 Creating automatic instance, with SID='naxj' initialization parameters used for automatic instance:
db_name=T12CCDB
db_unique_name=naxj_pitr_T12CCDB
compatible=12.0.0.0.0
db_block_size=8192
db_files=200
sga_target=1G
processes=80
db_create_file_dest=/testcases/rectbl/
log_archive_dest_1='location=/testcases/rectbl/'
_enable_pluggable_database=true
_clone_one_pdb_recovery=true
#No auxiliary parameter file used starting up automatic instance T12CCDB Oracle instance started Total System Global Area 1068937216 bytes Fixed Size 2268624 bytes
Variable Size 281018928 bytes
Database Buffers 780140544 byte redo Buffers 5509120 bytes
Automatic instance created contents of Memory Script:
{
# set requested point in time
set until logseq 64 thread 1;
# 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';
}
executing Memory Script executing command: SET until clause Starting restore at 21-JAN-13
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=109 device type=DISK channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /<path>/fast_recovery_area/T12CCDB/autobackup/2013_01_21/o1_mf_s_805312613_8hv0c5yz_.bkp
channel ORA_AUX_DISK_1: piece handle=/<path>/fast_recovery_area/T12CCDB/autobackup/2013_01_21/o1_mf_s_805312613_8hv0c5yz_.bkp tag=TAG20130121T175653
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
output file name=/testcases/rectbl/T12CCDB/controlfile/o1_mf_8hv7z47y_.ctl
Finished restore at 21-JAN-13 sql statement: alter database mount clone database sql statement: alter system archive log current contents of Memory Script:
{
# set requested point in time
set until logseq 64 thread 1;
# set destinations for recovery set and auxiliary set datafiles
set newname for clone datafile 1 to new;
set newname for clone datafile 4 to new;
set newname for clone datafile 3 to new;
set newname for clone datafile 8 to new;
set newname for clone datafile 9 to new;
set newname for clone tempfile 1 to new;
set newname for clone tempfile 3 to new;
# switch all tempfiles
switch clone tempfile all;
# restore the tablespaces in the recovery set and the auxiliary set
restore clone datafile 1, 4, 3, 8, 9;
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 executing command: SET NEWNAME executing command: SET NEWNAME renamed tempfile 1 to /testcases/rectbl/T12CCDB/datafile/o1_mf_temp_%u_.tmp in control file
renamed tempfile 3 to /testcases/rectbl/T12CCDB/datafile/o1_mf_temp_%u_.tmp in control file Starting restore at 21-JAN-13
using channel ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to /testcases/rectbl/T12CCDB/datafile/o1_mf_system_%u_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00004 to /testcases/rectbl/T12CCDB/datafile/o1_mf_undotbs1_%u_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00003 to /testcases/rectbl/T12CCDB/datafile/o1_mf_sysaux_%u_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00008 to /testcases/rectbl/T12CCDB/datafile/o1_mf_system_%u_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00009 to /testcases/rectbl/T12CCDB/datafile/o1_mf_sysaux_%u_.dbf
channel ORA_AUX_DISK_1: reading from backup piece /<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_nnndf_TAG20130121T175546_8hv092yj_.bkp
channel ORA_AUX_DISK_1: piece handle=/<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_nnndf_TAG20130121T175546_8hv092yj_.bkp tag=TAG20130121T175546
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:25
Finished restore at 21-JAN-13 datafile 1 switched to datafile copy
input datafile copy RECID=55 STAMP=805320511 file name=/testcases/rectbl/T12CCDB/datafile/o1_mf_system_8hv7zblx_.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=56 STAMP=805320511 file name=/testcases/rectbl/T12CCDB/datafile/o1_mf_undotbs1_8hv7zbob_.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=57 STAMP=805320512 file name=/testcases/rectbl/T12CCDB/datafile/o1_mf_sysaux_8hv7zbn2_.dbf
datafile 8 switched to datafile copy
input datafile copy RECID=58 STAMP=805320512 file name=/testcases/rectbl/T12CCDB/datafile/o1_mf_system_8hv7zbnt_.dbf
datafile 9 switched to datafile copy
input datafile copy RECID=59 STAMP=805320512 file name=/testcases/rectbl/T12CCDB/datafile/o1_mf_sysaux_8hv7zbn7_.dbf contents of Memory Script:
{
# set requested point in time
set until logseq 64 thread 1;
# online the datafiles restored or switched
sql clone "alter database datafile 1 online";
sql clone "alter database datafile 4 online";
sql clone "alter database datafile 3 online";
sql clone 'T12CPDB1' "alter database datafile 8 online";
sql clone 'T12CPDB1' "alter database datafile 9 online";
# recover and open database read only
recover clone database tablespace "SYSTEM", "UNDOTBS1", "SYSAUX", "T12CPDB1":"SYSTEM", "T12CPDB1":"SYSAUX";
sql clone 'alter database open read only';
}
executing Memory Script executing command: SET until clause sql statement: alter database datafile 1 online
sql statement: alter database datafile 4 online
sql statement: alter database datafile 3 online
sql statement: alter database datafile 8 online
sql statement: alter database datafile 9 online Starting recover at 21-JAN-13
using channel ORA_AUX_DISK_1 starting media recovery channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=58
channel ORA_AUX_DISK_1: reading from backup piece /<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_annnn_TAG20130121T175652_8hv0c4bf_.bkp
channel ORA_AUX_DISK_1: piece handle=/<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_annnn_TAG20130121T175652_8hv0c4bf_.bkp tag=TAG20130121T175652
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/testcases/rectbl/1_58_804254048.dbf thread=1 sequence=58
channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=59
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=60
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=61
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=62
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=63
channel ORA_AUX_DISK_1: reading from backup piece /<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_annnn_TAG20130121T200313_8hv7r1hz_.bkp
channel ORA_AUX_DISK_1: piece handle=/<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_annnn_TAG20130121T200313_8hv7r1hz_.bkp tag=TAG20130121T200313
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/testcases/rectbl/1_59_804254048.dbf thread=1 sequence=59
archived log file name=/testcases/rectbl/1_60_804254048.dbf thread=1 sequence=60
archived log file name=/testcases/rectbl/1_61_804254048.dbf thread=1 sequence=61
archived log file name=/testcases/rectbl/1_62_804254048.dbf thread=1 sequence=62
archived log file name=/testcases/rectbl/1_63_804254048.dbf thread=1 sequence=63
media recovery complete, elapsed time: 00:00:05
Finished recover at 21-JAN-13 sql statement: alter database open read only contents of Memory Script:
{
sql clone 'alter pluggable database T12CPDB1 open read only';
}
executing Memory Script sql statement: alter pluggable database T12CPDB1 open read only contents of Memory Script:
{
sql clone "create spfile from memory";
shutdown clone immediate;
startup clone nomount;
sql clone "alter system set control_files = ''/testcases/rectbl/T12CCDB/controlfile/o1_mf_8hv7z47y_.ctl'' comment=''RMAN set'' scope=spfile";
shutdown clone immediate;
startup clone nomount;
# mount database
sql clone 'alter database mount clone database';
}
executing Memory Script sql statement: create spfile from memory database closed
database dismounted
Oracle instance shut down connected to auxiliary database (not started)
Oracle instance started Total System Global Area 1068937216 bytes Fixed Size 2268624 bytes
Variable Size 285213232 bytes
Database Buffers 775946240 bytes
Redo Buffers 5509120 bytes sql statement: alter system set control_files =''/testcases/rectbl/T12CCDB/controlfile/o1_mf_8hv7z47y_.ctl'' comment= ''RMAN set'' scope=spfile Oracle instance shut down connected to auxiliary database (not started)
Oracle instance started Total System Global Area 1068937216 bytes Fixed Size 2268624 bytes
Variable Size 285213232 bytes
Database Buffers 775946240 bytes
Redo Buffers 5509120 bytes sql statement: alter database mount clone database contents of Memory Script:
{
# set requested point in time
set until logseq 64 thread 1;
# set destinations for recovery set and auxiliary set datafiles
set newname for datafile 20 to new;
# restore the tablespaces in the recovery set and the auxiliary set
restore clone datafile 20;
switch clone datafile all;
}
executing Memory Script executing command: SET until clause executing command: SET NEWNAME Starting restore at 21-JAN-13
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=115 device type=DISK channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00020 to /testcases/rectbl/NAXJ_PITR_T12CCDB/datafile/o1_mf_rectbl_%u_.dbf
channel ORA_AUX_DISK_1: reading from backup piece /<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_nnndf_TAG20130121T175546_8hv092yj_.bkp
channel ORA_AUX_DISK_1: piece handle=/<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_nnndf_TAG20130121T175546_8hv092yj_.bkp tag=TAG20130121T175546
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03
Finished restore at 21-JAN-13 datafile 20 switched to datafile copy
input datafile copy RECID=61 STAMP=805320570 file name=/testcases/rectbl/NAXJ_PITR_T12CCDB/datafile/o1_mf_rectbl_8hv83qpg_.dbf contents of Memory Script:
{
# set requested point in time
set until logseq 64 thread 1;
# online the datafiles restored or switched
sql clone 'T12CPDB1' "alter database datafile 20 online";
# recover and open resetlogs
recover clone database tablespace "T12CPDB1":"RECTBL", "SYSTEM", "UNDOTBS1", "SYSAUX", "T12CPDB1":"SYSTEM", "T12CPDB1":"SYSAUX" delete archivelog;
alter clone database open resetlogs;
}
executing Memory Script executing command: SET until clause sql statement: alter database datafile 20 online Starting recover at 21-JAN-13
using channel ORA_AUX_DISK_1 starting media recovery channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=58
channel ORA_AUX_DISK_1: reading from backup piece /<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_annnn_TAG20130121T175652_8hv0c4bf_.bkp
channel ORA_AUX_DISK_1: piece handle=/<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_annnn_TAG20130121T175652_8hv0c4bf_.bkp tag=TAG20130121T175652
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/testcases/rectbl/1_58_804254048.dbf thread=1 sequence=58
channel clone_default: deleting archived log(s)
archived log file name=/testcases/rectbl/1_58_804254048.dbf RECID=131 STAMP=805320572
channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=59
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=60
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=61
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=62
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=63
channel ORA_AUX_DISK_1: reading from backup piece /<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_annnn_TAG20130121T200313_8hv7r1hz_.bkp
channel ORA_AUX_DISK_1: piece handle=/<path>/fast_recovery_area/T12CCDB/backupset/2013_01_21/o1_mf_annnn_TAG20130121T200313_8hv7r1hz_.bkp tag=TAG20130121T200313
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/testcases/rectbl/1_59_804254048.dbf thread=1 sequence=59
channel clone_default: deleting archived log(s)
archived log file name=/testcases/rectbl/1_59_804254048.dbf RECID=133 STAMP=805320573
archived log file name=/testcases/rectbl/1_60_804254048.dbf thread=1 sequence=60
channel clone_default: deleting archived log(s)
archived log file name=/testcases/rectbl/1_60_804254048.dbf RECID=134 STAMP=805320573
archived log file name=/testcases/rectbl/1_61_804254048.dbf thread=1 sequence=61
channel clone_default: deleting archived log(s)
archived log file name=/testcases/rectbl/1_61_804254048.dbf RECID=132 STAMP=805320573
archived log file name=/testcases/rectbl/1_62_804254048.dbf thread=1 sequence=62
channel clone_default: deleting archived log(s)
archived log file name=/testcases/rectbl/1_62_804254048.dbf RECID=136 STAMP=805320573
archived log file name=/testcases/rectbl/1_63_804254048.dbf thread=1 sequence=63
channel clone_default: deleting archived log(s)
archived log file name=/testcases/rectbl/1_63_804254048.dbf RECID=135 STAMP=805320573
media recovery complete, elapsed time: 00:00:00
Finished recover at 21-JAN-13 database opened contents of Memory Script:
{
sql clone 'alter pluggable database T12CPDB1 open';
}
executing Memory Script sql statement: alter pluggable database T12CPDB1 open contents of Memory Script:
{
# create directory for datapump import
sql 'T12CPDB1' "create or replace directory TSPITR_DIROBJ_DPDIR as ''/testcases/rectbl/''";
# create directory for datapump export
sql clone 'T12CPDB1' "create or replace directory TSPITR_DIROBJ_DPDIR as ''/testcases/rectbl/''";
}
executing Memory Script sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/testcases/rectbl/'' sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/testcases/rectbl/'' Performing export of tables...
EXPDP> Starting "SYS"."TSPITR_EXP_naxj_kswu":
EXPDP> Estimate in progress using BLOCKS method...
EXPDP> Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
EXPDP> Total estimation using BLOCKS method: 128 KB
EXPDP> Processing object type TABLE_EXPORT/TABLE/TABLE
EXPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
EXPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
EXPDP> . . exported "SMEDS"."RECTEST" 6.109 KB 32 rows
EXPDP> Master table "SYS"."TSPITR_EXP_naxj_kswu" successfully loaded/unloaded
EXPDP> ******************************************************************************
EXPDP> Dump file set for SYS.TSPITR_EXP_naxj_kswu is:
EXPDP> /testcases/rectbl/tspitr_naxj_85941.dmp
EXPDP> Job "SYS"."TSPITR_EXP_naxj_kswu" successfully completed at Mon Jan 21 20:10:28 2013 elapsed 0 00:00:31
Export completed contents of Memory Script:
{
# shutdown clone before import
shutdown clone abort
}
executing Memory Script Oracle instance shut down Performing import of tables...
IMPDP> Master table "SYS"."TSPITR_IMP_naxj_uklm" successfully loaded/unloaded
IMPDP> Starting "SYS"."TSPITR_IMP_naxj_uklm":
IMPDP> Processing object type TABLE_EXPORT/TABLE/TABLE
IMPDP> Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
IMPDP> . . imported "SMEDS"."TEST4_RECTEST" 6.109 KB 32 rows
IMPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
IMPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER
IMPDP> Job "SYS"."TSPITR_IMP_naxj_uklm" successfully completed at Mon Jan 21 20:10:40 2013 elapsed 0 00:00:06
Import completed Removing automatic instance
Automatic instance removed
auxiliary instance file /testcases/rectbl/T12CCDB/datafile/o1_mf_temp_8hv82j8f_.tmp deleted
auxiliary instance file /testcases/rectbl/T12CCDB/datafile/o1_mf_temp_8hv82bj8_.tmp deleted
auxiliary instance file /testcases/rectbl/NAXJ_PITR_T12CCDB/onlinelog/o1_mf_3_8hv840bs_.log deleted
auxiliary instance file /testcases/rectbl/NAXJ_PITR_T12CCDB/onlinelog/o1_mf_2_8hv83zp1_.log deleted
auxiliary instance file /testcases/rectbl/NAXJ_PITR_T12CCDB/onlinelog/o1_mf_1_8hv83z15_.log deleted
auxiliary instance file /testcases/rectbl/NAXJ_PITR_T12CCDB/datafile/o1_mf_rectbl_8hv83qpg_.dbf deleted
auxiliary instance file /testcases/rectbl/T12CCDB/datafile/o1_mf_sysaux_8hv7zbn7_.dbf deleted
auxiliary instance file /testcases/rectbl/T12CCDB/datafile/o1_mf_system_8hv7zbnt_.dbf deleted
auxiliary instance file /testcases/rectbl/T12CCDB/datafile/o1_mf_sysaux_8hv7zbn2_.dbf deleted
auxiliary instance file /testcases/rectbl/T12CCDB/datafile/o1_mf_undotbs1_8hv7zbob_.dbf deleted
auxiliary instance file /testcases/rectbl/T12CCDB/datafile/o1_mf_system_8hv7zblx_.dbf deleted
auxiliary instance file /testcases/rectbl/T12CCDB/controlfile/o1_mf_8hv7z47y_.ctl deleted
auxiliary instance file tspitr_naxj_85941.dmp deleted
Finished recover at 21-JAN-13

Please note :  In cases where you do not want the table to be import but just need the export dump  you can use the notableimport  option;

请注意: 如果您不希望导入表,而只需要导出dump,则可以使用  notableimport 选项

Run

run {RECOVER TABLE SMEDS."RECTEST" OF PLUGGABLE DATABASE T12CPDB1
UNTIL SEQUENCE 64 thread 1
AUXILIARY DESTINATION '/testcases/rectbl/'
datapump destination '/testcases/rectb/dpump/'
dump file 'export.dmp'
notableimport; }

RMAN RECOVER TABLE 功能是 Oracle Database 12c 的新增功能 (Doc ID 1521524.1)的更多相关文章

  1. Oracle Database 12c Using duplicate standby database from active database Created Active DataGuard

    primary database db_name=zwc, db_unique_name=zwc standby database db_name=zwc, db_unique_name=standb ...

  2. Oracle列自增实现(2)-Identity Columns in Oracle Database 12c Release 1 (12.1)

    Oracle列自增-Identity Columns in Oracle Database 12c Release 1 (12.1) 在ORACLE 12C以前的版本中,如果要实现列自增长,需要通过序 ...

  3. Maclean Liu对Oracle Database 12c新特性研究汇总

    Maclean Liu关于DB 12c新特性的研究文章如下: [Oracle Database 12c新特性] In-Database Archiving数据库内归档 [Oracle Database ...

  4. Oracle Database 12c Data Redaction介绍

    什么是Data Redaction Data Redaction是Oracle Database 12c的高级安全选项之中的一个新功能,Oracle中国在介绍这个功能的时候,翻译为“数据编纂”,在EM ...

  5. 《Oracle Database 12c DBA指南》第一章 - 基本技能简介

    当前关于12c的中文资料比较少,本人将关于DBA的一部分官方文档翻译为中文,很多地方为了帮助中国网友看懂文章,没有按照原文句式翻译,翻译不足之处难免,望多多指正. 1 基本技能简介 作为一个数据库管理 ...

  6. Oracle Database 12c Release 2安装详解

    第1章 Oracle Database 12c Release 2安装详解 1.1 下载方法 oracle官网https://www.oracle.com 1)打开官方网站,找到下载连接 2)选择更多 ...

  7. [翻译] Oracle Database 12c 新特性Multitenant

    译自官方白皮书http://www.oracle.com/technetwork/database/plug-into-cloud-wp-12c-1896100.pdf,包含新的云计算相关技术的介绍. ...

  8. Oracle Database 12c Release 2安装过程实录

    前言----------公司数据库用的是oracle,由于oracle数据库没有做监控,所有搭个环境用于测试zabbix通过orabbix插件监控oracle数据库,下面先搭建oracle数据库. 简 ...

  9. Quick and Easy Installation of Oracle Database 12c on Oracle Linux in Oracle VM VirtualBox

    发贴人 Sergio-Oracle 于2018-4-18 23:10:15在Oracle Linux Introduction How Does This Work? Requirements Bef ...

随机推荐

  1. stm32 io操作 头文件规范

    在stm32众多项目开发中,有太多的对io进行操作,若置1或清0,使用官方库提供的函数,固然方便,规范,但是需要包含标准的库,尺寸较大,还得处理不同版本兼容问题,包括io初始化也太繁琐,于是操作原子等 ...

  2. 【Taro】363- 玩转 Taro 跨端之 flex 布局篇

    Taro 是一套遵循 React 语法规范的跨平台开发解决方案,但是目前当我们使用 Taro 的时候,在不同平台上的开发体验还有不一致的地方,所以我们也都期待有一套跨平台统一的解决方案,能够以最小差异 ...

  3. tensorflow学习笔记——VGGNet

    2014年,牛津大学计算机视觉组(Visual Geometry Group)和 Google DeepMind 公司的研究员一起研发了新的深度卷积神经网络:VGGNet ,并取得了ILSVRC201 ...

  4. Java环境变量配置超详细教程

    https://blog.csdn.net/Mxdon_on/article/details/89461365 概述 Java的环境配置并不是特别难,但是对刚上手的新手来说确实是一个大问题 首先下载j ...

  5. nginx代理grafana

    希望通过Nginx为服务器上的grafana进行代理,实现通过在当前域名后加/grafana在公网进行访问,开始按照百度的方法弄了几个小时都不行,后面仔细看了官方的文档才弄好,Mark一下. Ngin ...

  6. Ubuntu系统下arm-linux-gcc交叉编译环境搭建过程

    搭建所需环境Linux版本:Ubuntu 14.10 交叉编译器版本:arm-linux-gcc-4.4.3资源链接 何为交叉编译环境搭建交叉编译环境,即安装.配置交叉编译工具链.在Ubuntu环境下 ...

  7. 【程序人生】一个IT人的立功,立言,立德三不朽

    最近几个月很忙,忙着当奶爸,忙着做加班狗,忙着补裤裆学技术……以至于快忘了要思考人生了! 古人立志穷极一生追求“立德”,“立功”,“立言”,以求不朽,为万世所景仰,为后人所传颂,实现人生的意义.立德者 ...

  8. Docker入门-笔记-1

    Docker入门 Docker 是 Golang 编写的, 自 2013 年推出以来,受到越来越多的开发者的关注.如果你关注最新的技术发展,那么你一定听说过 Docker.不管是云服务还是微服务(Mi ...

  9. 《大型网站系统与Java中间件》读书笔记(上)

    前言 只有光头才能变强. 文本已收录至我的GitHub仓库,欢迎Star:https://github.com/ZhongFuCheng3y/3y 这本书买了一段时间了,之前在杭州没带过去,现在读完第 ...

  10. Rancher 2.3.3发布!默认支持K8S 1.16

    2019年11月28日,Rancher Labs发布了Rancher全新版本2.3.3,该版本默认支持Kubernetes1.16,此外还带来了其他功能与优化. 目前,Rancher的Latest和S ...