• 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

  • 相关阅读:
    计算机学习的网站、常用软件
    c语言标识符
    Git报错
    福尔摩斯的约会
    怎样判断一个单链表是否有环?
    中成药的合理使用--风寒感冒
    使用vscode打造python开发环境
    AIDA64 Extreme 6.10.5200 序列号
    VMware Workstation Pro 15密钥及下载地址
    centos 一键安装 Aria2 &管理脚本
  • 原文地址:https://www.cnblogs.com/hanglinux/p/16265640.html
Copyright © 2020-2023  润新知