重庆思庄oracle技术分享-exp导数据时报错ORA-01578 ORA-01110

问题描述: exp 导数据时报错 ORA-01578 ORA-01110 ,如下所示:
数据库: oracle 19.12  多租户
1、异常重现
[oracle@dbserver ~]$ exp ora1/ora1@orclpdbfile=emp.dmp tables=emp log=exp.log   
Export: Release 19.0.0.0.0 - Production onSat Jan 14 20:30:57 2023
Version 19.12.0.0.0
Copyright (c) 1982, 2019, Oracle and/or itsaffiliates.  All rights reserved.
Connected to: Oracle Database 19c EnterpriseEdition Release 19.0.0.0.0 - Production
Version 19.12.0.0.0
Export done in US7ASCII character set andAL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possiblecharset conversion)
About to export specified tables viaConventional Path ...
. . exporting table                            EMP
EXP-00056: ORACLE error 1578 encountered
ORA-01578: ORACLE data block corrupted (file# 12, block # 659)
ORA-01110: data file 12:'+DATA/ORCLCDB/CBB47E352F7AAEA7E0537885A8C03007/DATAFILE/users.279.1082994667'
Export terminated successfully with warnings.
2、解决过程
SQL> conn sys/oracle_4U@orclpdb as sysdba
Connected.
SQL> alter system set events='10231 tracename context forever,level 10';
Session altered.
SQL> select count(*) from ora1.emp;
COUNT(*)
----------
      140
[oracle@dbserver ~]$ exportNLS_LANG=AMERICAN_AMERICA.AL32UTF8
[oracle@dbserver ~]$ echo $NLS_LANG
AMERICAN_AMERICA.AL32UTF8
[oracle@dbserver ~]$ exp ora1/ora1@orclpdbfile=emp.dmp tables=emp log=exp.log
Export: Release 19.0.0.0.0 - Production onSat Jan 14 20:41:11 2023
Version 19.12.0.0.0
Copyright (c) 1982, 2019, Oracle and/or itsaffiliates.  All rights reserved.
Connected to: Oracle Database 19c EnterpriseEdition Release 19.0.0.0.0 - Production
Version 19.12.0.0.0
Export done in AL32UTF8 character set andAL16UTF16 NCHAR character set
About to export specified tables viaConventional Path ...
. . exporting table                            EMP        140 rows exported
Export terminated successfully withoutwarnings.
说明:如上成功导出 emp .
补充知识:
--关闭10231内部事件.
altersystem set events='10231 trace name context off';
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值