ora-19566

win2003 64位,oracle 10g10204 32位(另外的同事装的数据库)。在用rman备份时,报ora-19566,sysaux01.dbf。dbv file=sysaux01.dbf检查,报block 40515坏块;

查坏块上的对像,

select tablespace_name,segment_type,owner,segment_name from dba_extents where file_id=3 and 40515 between block_id and block_id+blocks-1;

sysaux table sys wrh$_sql_plan;

 

select * from wrh$_sql_plan;结果在7200行处报ora-01578 ora-01110,exec dbms_repair.skip_corrupt_block('SYS','WRH$_SQL_PLAN');select * from wrh$sql_plan不报错;

truncate table ,rman,dbv 仍报19566。

将数据库从32位转为64位,重建控制文件,仍不能解决。

于是试着其它方法,若加一个数据文件,是否会跳过:

alter tablespace sysaux add datafile 'sysaux02.dbf' size 1000m;

>alter database datafile 3 offline;

Completed:alter database datafile 3 offline

>alter database dafafile 3 online;

datafile 3 need media recovcer

>recover datafile 3;

>alter database datafile 3 online;

Completed: alter database datafile 3 online;

dbv file=sysaux01.dbf blocksize=8192

dbv file=sysaux01.dbf blocksize=8192

DBVERIFY: Release 10.2.0.4.0 - Production on 星期六 6月 2 20:29:49 2012

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

DBVERIFY - 开始验证: FILE = sysaux01.dbf


DBVERIFY - 验证完成

检查的页总数: 128000
处理的页总数 (数据): 47674
失败的页总数 (数据): 0
处理的页总数 (索引): 40204
失败的页总数 (索引): 0
处理的页总数 (其它): 19651
处理的总页数 (段)  : 0
失败的总页数 (段)  : 0
空的页总数: 20471
标记为损坏的总页数: 0
流入的页总数: 0
最高块 SCN            : 4033023075 (2992.4033023075)

no bad blocks

  • 4
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值