怎么解决DG搭建后报错Warning: ORA-16824问题

本篇内容介绍了“怎么解决DG搭建后报错Warning: ORA-16824问题”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

报错: switchover to 'SBDB1' ORA-16824: multiple warnings, including fast-start failover-related warnings, detected for the database

原因:DG搭建后,感觉DB_FILE_NAME_CONVERT='PROD1','SBDB1' 这个参数没有用,于是清空了。

测试:

  1. 主库创建表空间,备库即时生效。证明没有受到该参数的影响。

  2. switchover to 'SBDB1' ,报错:ORA-16824: multiple warnings, including fast-start failover-related warnings, detected for the database。这个报错没有明细指出问题。

    show configuration 报错:ORA-16824: multiple warnings, including fast-start failover-related warnings, detected for the database。这个报错也没有明细指出问题。

    show database verbose ‘SBDB1' 报错:Warning: ORA-16714: the value of property DbFileNameConvert is inconsistent with the database setting(警告:ORA-16714:属性DbFileNameConvert的值与数据库设置不一致)明确说明的问题。

    证明这个命令很好用要记住。

  3. 清空db_broker 中  DB_FILE_NAME_CONVERT参数,

    EDIT DATABASE 'PROD1' set PROPERTY DbFileNameConvert='';

    EDIT DATABASE 'SBDB1' set PROPERTY DbFileNameConvert='';

  4. 重启主备库,执行switchover to ‘SBDB1' ,主备库切换成功。

“怎么解决DG搭建后报错Warning: ORA-16824问题”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注网站,小编将为大家输出更多高质量的实用文章!