21.You are managing an Oracle Database 11g instance. You want to create a duplicate database for testing purpose.
What are the prerequisites for performing the active database duplication? (Choose all that apply.)
A. The source database backup must be copied over the net for test database.
B. The source database must be run in ARCHIVELOG mode if the database is open.
C. The source database must be shut down cleanly if the database is in mounted state.
D. A net service name should be set up and a listener configured with the target as well as the source database.
Answer: BCD
你正在管理Oracle数据库11g实例。您要创建一个复制的数据库用于测试目的。执行活动数据库复制的前提条件是什么?
B、如果数据库是打开的源数据库必须运行在归档记录模式下。
C、如果数据库处于挂载状态源数据库必须彻底关闭。
D、应设立一个网络服务名称和一个配置于源数据库与目标的监听器。
参考:
http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta020.htm#RCMRF90152
复制活动数据库
通过使用Oracle Enterprise Manager 或RMAN DUPLICATE命令的FROM ACTIVE DATABASE子句,可以指示源数据库直接将映像副本和归档日志副本复制到辅助实例。
此操作不需要使用备份。RMAN 作为TARGET连接到源数据库实例并作为AUXILIARY连接到辅助实例。
通过实例间的网络连接将数据库文件从源数据库复制到目标数据库或辅助实例。RMAN 随后使用“内存脚本”(仅包含在内存中)完成恢复并打开数据库。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/81227/viewspace-2123384/
,如需转载,请注明出处,否则将追究法律责任。