|
RMAN>RUN { ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK; DUPLICATE TARGET DATABASE TO auxdb SKIP READONLY; } |
Which two statements describe the effect after the database is duplicated successfully?(Choose two)
A. The data files of the read-only tablespaces in the target database are not duplicated
B. The read-only tablespaces in the target database are still defined in new the database
C. The read-only tablespaces in the target database are changed to online after duplication
D. The data files of the read-only tablespaces in the target database get duplicated
E. The read-only tablespaces in the target database are not defined in the new database
答案:(A、B)
解析:
DUPLICATE...SKIP READONLY
在复制数据库的过程中排除当前只读表空间的数据文件. 默认RMAN复制当前只读的表空间.
如果一个表空间当前为read/write,但你使用了untilClause来复制数据库到一个SCN(此时该表空间为只读),则RMAN在复制数据库中不包含该表空间.
之前只读的表空间被认为是脱机的表空间,因此不包含在复制中.