解决 ORA-01578(数据块损坏) 错误_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
2
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2140 | 回复: 1   主题: 解决 ORA-01578(数据块损坏) 错误        下一篇 
伊恩dih
注册用户
等级:少校
经验:819
发帖:15
精华:0
注册:2015-5-28
状态:离线
发送短消息息给伊恩dih 加好友    发送短消息息给伊恩dih 发消息
发表于: IP:您无权察看 2015-8-28 11:00:18 | [全部帖] [楼主帖] 楼主

错误:在 exp 时出现以下错误:

EXP-00056: 遇到 ORACLE 错误 1578
ORA-01578: ORACLE 数据块损坏(文件号4,块号65)
ORA-01110: 数据文件 4: 'E:/ORACLE/ORADATA/USERS.DBF'


措施:
-- 1. 检查损坏的对象
SELECT tablespace_name, segment_type, owner, segment_name
            FROM dba_extents
           WHERE file_id = 4
             and 65 between block_id AND block_id + blocks - 1;

-- 2. 设置内部事件,使exp跳过损坏的block
ALTER SYSTEM SET EVENTS='10231 trace name context forever,level 10' ;

-- 3. 导出表
exp user1/passwd1 file=t1.dmp tables=t1

-- 4. 删除有坏块的表
drop table t1 purge;

-- 5. 导入表
imp user1/passwd1 file=t1.dmp tables=t1

-- 6. 清除跟踪事件
ALTER SYSTEM SET EVENTS='10231 trace name context off' ;





赞(0)    操作        顶端 
联动大白
注册用户
等级:列兵
经验:91
发帖:0
精华:0
注册:2015-5-27
状态:离线
发送短消息息给联动大白 加好友    发送短消息息给联动大白 发消息
发表于: IP:您无权察看 2019-7-26 0:30:00 | [全部帖] [楼主帖] 2  楼

为了方便大家阅读,我对文章中错误号来解释一下吧!

Error Id: ORA-01110

Title: data file string: ’string’

Description:

data file string: ’string’

Action:

See associated error message

Cause:

Reporting file name for details of another error


Error Id: ORA-01578

Title: ORACLE data block corrupted (file # string, block # string)

Description:

ORACLE data block corrupted (file # string, block # string)

Action:

Try to restore the segment containing the block indicated. This may involve dropping the segment and recreating it. If there is a trace file, report the errors in it to your ORACLE representative.

Cause:

The data block indicated was corrupted, mostly due to software errors.


也许你已明白,但对一个人有用也是我存在的理由!^_^ By:持之以恒的大白

-- 来自: 北京联动北方科技有限公司



赞(0)    操作        顶端 
总帖数
2
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论