重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3079|回复: 0
打印 上一主题 下一主题

[Oracle] ORACLE error from auxiliary database 提示ORA-19527与ORA-00312

[复制链接]
跳转到指定楼层
楼主
发表于 2020-6-7 14:58:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在rman里,进行oracle数据库复制时,数据文件在已传输完成,但在传输重做日志与standby日志进,出现错误提示

datafile12 switched to datafile copy
inputdatafile copy RECID=14 STAMP=1042192388 filename=/u01/app/oradata/orcl/orclpdb/users01.dbf
ORACLEerror from auxiliary database: ORA-19527: physical standby redo log must berenamed
ORA-00312:online log 1 thread 1: '/u01/app/oradata/orcl/redo01.log'
RMAN-05535:warning: All redo log files were not defined properly.
ORACLEerror from auxiliary database: ORA-19527: physical standby redo log must berenamed
ORA-00312:online log 2 thread 1: '/u01/app/oradata/orcl/redo02.log'
RMAN-05535:warning: All redo log files were not defined properly.
ORACLEerror from auxiliary database: ORA-19527: physical standby redo log must berenamed
ORA-00312:online log 3 thread 1: '/u01/app/oradata/orcl/redo03.log'
RMAN-05535:warning: All redo log files were not defined properly.
ORACLEerror from auxiliary database: ORA-19527: physical standby redo log must berenamed
ORA-00312:online log 4 thread 0: '/u01/app/oradata/orcl/stdredo01.log'
RMAN-05535:warning: All redo log files were not defined properly.
ORACLEerror from auxiliary database: ORA-19527: physical standby redo log must berenamed
ORA-00312:online log 5 thread 0: '/u01/app/oradata/orcl/stdredo02.log'
RMAN-05535:warning: All redo log files were not defined properly.
ORACLEerror from auxiliary database: ORA-19527: physical standby redo log must berenamed
ORA-00312:online log 6 thread 0: '/u01/app/oradata/orcl/stdredo03.log'
RMAN-05535:warning: All redo log files were not defined properly.
ORACLEerror from auxiliary database: ORA-19527: physical standby redo log must berenamed
ORA-00312:online log 7 thread 0: '/u01/app/oradata/orcl/stdredo04.log'
RMAN-05535:warning: All redo log files were not defined properly.
FinishedDuplicate Db at 04-JUN-20

原因是因为我备库启数据库的参数中,没有log_file_name_convert这个参数,所以在复制数据库时会提示该错误,解决方法就是添加上这个参数,再进行数据传输
可以在参数文件中进行添加
语法:*.log_file_name_convert = '<location on primary>','<location on standby>'
也可以在sqlplus里使用命令添加
alter system set LOG_FILE_NAME_CONVERT='/u01/app/oradata/orcl','/u01/app/oradata/orcl' scope=spfile;



分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-29 07:24 , Processed in 0.085980 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表