贊比亞的一個項目,主要做主從數(shù)據(jù)庫同步,主庫在贊比亞機房,從庫在中國青島阿里云服務器上面,通過Dataguard實現(xiàn),當運行一段時間后,發(fā)現(xiàn)主從數(shù)據(jù)庫的數(shù)據(jù)不一致了,從庫無法啟動,報“ORA-01196: 文件 1 由于介質(zhì)恢復會話失敗而不一致”這個錯誤,具體日志信息如下:
===========《《日志信息》》====================
Windows PowerShell
版權(quán)所有 (C) 2009 Microsoft Corporation。保留所有權(quán)利。
PS C:\Users\Administrator> sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on 星期三 5月 7 04:59:10 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
連接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select OPen_mode from v$database;
OPEN_MODE
----------------------------------------
MOUNTED
SQL> alter database open;
alter database open
*
第 1 行出現(xiàn)錯誤:
ORA-10458: standby database requires recovery
ORA-01196: 文件 1 由于介質(zhì)恢復會話失敗而不一致
ORA-01110: 數(shù)據(jù)文件 1: 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF'
==============《《《日志結(jié)束》》》===========================
SQL>SELECT NAME,SEQUENCE#,ARCHIVED,APPLIED FROMV$ARCHIVED_LOG ORDER BY SEQUENCE#;