Home  >  Article  >  Database  >  Oracle DG 归档设置验证出现的问题

Oracle DG 归档设置验证出现的问题

WBOY
WBOYOriginal
2016-06-07 17:13:31836browse

Oracle DG 归档设置验证出现的问题 --主库 SQLgt; col status for a10 SQLgt; col destination for a20 SQLgt; col

Oracle DG 归档设置验证出现的问题

修改主库与备库的监听文件,添加SID_DESC条目:
同样查询V$ARCHIVE_DEST或v$archive_dest_status:
SQL> select status,destination, error from v$archive_dest;
SQL> select error from v$archive_dest_status;
出现以下错误:
ORA-16009: remote archive log destination must be a STANDBY database   
修改 主库与备库的log_archive_dest_2 参数,添加valid_for=(online_logfiles,primary_role) 选项

更多Oracle相关信息见Oracle 专题页面 ?tid=12

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn