• ORA39006、ORA39065、ORA01403、ORA39097


    上午客户反馈无法进行数据库到处,请求解决改问题,报错如下:

    [oracle@xxxxx~]$ expdp \'/ as sysdba\' directory=dmpdir dumpfile=xxxx.dmp logfile=xxxxx.log tables=xxx.xxxxquery=\"where LEDGER_ID\=2024\"
    Export: Release 11.2.0.4.0 - Production on Fri May 13 09:45:42 2022
    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39006: internal error
    ORA-39065: unexpected master process exception in DISPATCH
    ORA-01403: no data found
    ORA-39097: Data Pump job encountered unexpected error 100

    改问题是dump相关视图问题,执行一下SQL,重新生成DATAPUMP API相关视图信息即可

    SQL> @?/rdbms/admin/catmeta.sql

    SQL> @?/rdbms/admin/catmet2.sql

    SQL> @?/rdbms/admin/utlrp.sql

    重新导出数据正常执行

    [oracle@xxxx~]$ expdp \'/ as sysdba\' directory=dmpdir dumpfile=xxxx.dmp logfile=xxxx.log tables=GL.GL_LEDGERS query=\"where LEDGER_ID\=2024\"

    Export: Release 11.2.0.4.0 - Production on Fri May 13 09:52:49 2022

    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYS"."SYS_EXPORT_TABLE_01": "/******** AS SYSDBA" directory=dmpdir dumpfile=xxxxx.dmp logfile=xxxxx.log tables=xx.xxxx query="where LEDGER_ID=2024"
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 128 KB
    ......

    ......
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "GL"."GL_LEDGERS" 42.96 KB 1 rows
    Master table "SYS"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for SYS.SYS_EXPORT_TABLE_01 is:
    /u03/app/oracle/dumpfile/xxxxxx.dmp
    Job "SYS"."SYS_EXPORT_TABLE_01" successfully completed at Fri May 13 09:53:20 2022 elapsed 0 00:00:30

  • 相关阅读:
    jQuery 遍历函数 ,javascript中的each遍历
    定时器:右下角滑动信息通知
    nopad++将制表符替换为换行符
    使用git提交远程仓库
    (转)解决windows解决windows 7 部分程序图标显示不正常的问题
    设置gvim的字体大小
    mysql乱码
    (转)notepad++去重
    查看linux硬件的信息
    虚拟机安装centos6.5出现Error processing drive:pci-0000:00:10-scsi-0:0:0:0问题
  • 原文地址:https://www.cnblogs.com/hanglinux/p/16265640.html
Copyright © 2020-2023  润新知