ORA-10567: Redo is inconsistent with data block
2015-02-09 11:04
381 查看
这两天 在做DG升级,备库应用日志的时候遭遇了以下问题:
从错误信息来看,是redo与数据库不一致造成的,网上查找资料,有人通过从主库将相应的数据文件考到备库,然后在应用日志,心里没谱,打算尝试一把
SQL> alter tablespace UNDOTBS1 begin backup;
—— 备库
SQL> alter database datafile 2 offline drop;
[oracle@st orcl]$ mv sysaux01.dbf sysaux01.dbf.bak
—— 主库
[oracle@pr orcl]$ scp undotbs01.dbf oracle@192.168.233.129:/export/11g/oradata/orcl/
—— 备库
SQL> alter database datafile 2 online;
Database altered.
SQL> alter database recover managed standby database disconnect from session;
没有报错了。
Media Recovery Log /export/11g/flash_recovery_area/ORCL2/archivelog/2015_02_08/o1_mf_1_34_bfgq6snb_.arc Hex dump of (file 3, block 160) in trace file /export/11g/diag/rdbms/orcl2/orcl/trace/orcl_mrp0_26811.trc Reading datafile '/export/11g/oradata/orcl/undotbs01.dbf' for corruption at rdba: 0x00c000a0 (file 3, block 160) Reread (file 3, block 160) found different corrupt data (logically corrupt) Hex dump of (file 3, block 160) in trace file /export/11g/diag/rdbms/orcl2/orcl/trace/orcl_mrp0_26811.trc Errors in file /export/11g/diag/rdbms/orcl2/orcl/trace/orcl_mrp0_26811.trc (incident=12227): ORA-00600: internal error code, arguments: [3020], [3], [160], [12583072], [], [], [], [], [], [], [], [] ORA-10567: Redo is inconsistent with data block (file# 3, block# 160, file offset is 1310720 bytes) ORA-10564: tablespace UNDOTBS1 ORA-01110: data file 3: '/export/11g/oradata/orcl/undotbs01.dbf' ORA-10560: block type 'KTU SMU HEADER BLOCK' Incident details in: /export/11g/diag/rdbms/orcl2/orcl/incident/incdir_12227/orcl_mrp0_26811_i12227.trc Completed: alter database recover managed standby database using current logfile disconnect Use ADRCI or Support Workbench to package the incident. See Note 411.1 at My Oracle Support for error and packaging details. MRP0: Background Media Recovery terminated with error 600 Errors in file /export/11g/diag/rdbms/orcl2/orcl/trace/orcl_mrp0_26811.trc: ORA-00600: internal error code, arguments: [3020], [3], [160], [12583072], [], [], [], [], [], [], [], [] <span style="color:#ff0000;">ORA-10567: Redo is inconsistent with data block (file# 3, block# 160, file offset is 1310720 bytes)</span> ORA-10564: tablespace UNDOTBS1 ORA-01110: data file 3: '/export/11g/oradata/orcl/undotbs01.dbf' ORA-10560: block type 'KTU SMU HEADER BLOCK' Managed Standby Recovery not using Real Time Apply
从错误信息来看,是redo与数据库不一致造成的,网上查找资料,有人通过从主库将相应的数据文件考到备库,然后在应用日志,心里没谱,打算尝试一把
</pre><pre name="code" class="html">—— 主库:
SQL> alter tablespace UNDOTBS1 begin backup;
—— 备库
SQL> alter database datafile 2 offline drop;
[oracle@st orcl]$ mv sysaux01.dbf sysaux01.dbf.bak
—— 主库
[oracle@pr orcl]$ scp undotbs01.dbf oracle@192.168.233.129:/export/11g/oradata/orcl/
—— 备库
SQL> alter database datafile 2 online;
Database altered.
SQL> alter database recover managed standby database disconnect from session;
没有报错了。
相关文章推荐
- Oracle DG之ORA-16792: configurable property value is inconsistent with database setting
- ORA-16714: the value of property ArchiveLagTarget is inconsistent with the database setting
- ORA-01704: string literal too long 和 ORA-00932: inconsistent datatypes: expected NUMBER got LONG
- 解决"There is already an open DataReader associated with this Command which must be closed first." exception in EF 中
- the name or security ID(SID) of the domain specified is inconsistent with the trust information for that domain
- The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain(转)
- bug宝典 hadoop篇 /hadoop/hdfs/data is in an inconsistent state: file VERSION has cTime missing.
- CRS-2800: Cannot start resource 'ora.DATADG.dg' as it is already in the INTERMEDIATE state on se
- expdp 报错:ora-22923 amount of data specified in streaming LOB write is 0
- ORA-01146: cannot start online backup - file 1 is already in backup ORA-01110: data file 1: 'C:\ORACLE\ORADATA\ORCL8\SYSTEM01.DBF'
- ORA-00932: inconsistent datatypes: expected NUMBER got CHAR
- ORA-00932: inconsistent datatypes: expected - got CLOB
- ORA-00932: inconsistent datatypes: expected - got CLOB
- ORA-00932: inconsistent datatypes: expected - got CLOB
- Rescuing a running virtual machine with dd when datastore metadata is inacces
- The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain
- Fixing the "There is already an open DataReader associated with this Command which must be closed first." exception in Entity Framework
- ORA-01196: file 1 is inconsistent due to a failed media recovery session
- 查询dba_data_files遇到ORA-00379: no free buffers available in buffer pool DEFAULT for block size 2K
- There is already an open DataReader associated with this Command which must be closed first." exception in Entity Framework