053-361

When performing a database duplication, which duplicate database parameter would you set to
ensure that the online redo logs are created in the correct location?
A. log_file_name_convert
B. convert_log_file_name
C. file_name_convert_log
D. redo_log_file_name_convert
E. logfile_convert_directory

  This setting will direct RMAN to the directory in which it should create the online redo logs.

LOG_FILE_NAME_CONVERT:此参数用于指定辅助数据库的重做日志文件名。其格式为
LOG_FILE_NAME_CONVERT = 'string1', 'string2',其中 string1 是目标数据库文件名的模
式, string2 是辅助数据库文件名的模式。还可以使用 DUPLICATE DATABASE 命令的
LOGFILE 子句来指定重做日志文件名。

RUN
{
SET NEWNAME FOR DATABASE TO '/oradata1/%b';
DUPLICATE TARGET DATABASE TO dupdb
LOGFILE
GROUP 1 ('/duplogs/redo01a.log',
'/duplogs/redo01b.log') SIZE 4M REUSE,
GROUP 2 ('/duplogs/redo02a.log',
'/duplogs/redo02b.log') SIZE 4M REUSE;
}

posted @ 2017-11-13 10:39  巴啦啦大魔王  阅读(62)  评论(0编辑  收藏  举报