ORA-16815: incorrect redo transport setting for AlternateLocation for standby database “string
文档解释
ORA-16815: incorrect redo transport setting for AlternateLocation for standby database “string”
Cause: The Data Guard broker detected an incorrect redo transport setting for a standby database AlternateLocation property. The incorrect setting could be one of the following:
– The AlternateLocation property was empty, but the redo transport to the standby database had an ALTERNATE setting.
– The AlternateLocation property was not empty and the redo transport to the standby database had no ALTERNATE setting.
– The AlternateLocation property did not match the ALTERNATE setting in the redo transport. The mismatch may include service string, directory specification of the alternate location, or the DB_UNIQUE_NAME attribute.
– The LOG_ARCHIVE_DEST_STATE_n parameter corresponding to the alternate location was not set to ALTERNATE.
– The flash recovery area was being used by the standby database for archived logs, but the redo transport to the standby database still had an ALTERNATE setting for the AlternateLocation property. Data Guard broker logs provide more details on which of the above cases caused the error.
Action: Reenable the primary database to clear the error.
ORA-16815:对于Standby数据库”string”的AlternateLocation的重做传输设置不正确
官方解释
这是一个警告性的错误,说明在使用Data Guard环境设置AlternateLocation时,没有适当设置redo传输设置。
常见案例
当通过Data Guard的DG Broker实现跨站点的镜像数据库时,可能会出现这个错误。 因为在镜像配置过程中,可能会忘记设置主库和备库之间的redo传输设置。
一般处理方法及步骤
1.从备库终端打开SQL * Plus。
2.连接到“ SYSDG ”(数据库管理员)帐户上。
3.单击SQL>。
4.运行以下命令以设置重做传输:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
5.重新启动你的备份数据库。
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341