【问题标题】:is it possible to recover the Oracle Data Pump master table?是否可以恢复 Oracle 数据泵主表?
【发布时间】:2014-07-07 22:55:43
【问题描述】:

我正在尝试使用已发布的 Oracle Data Pump perl 脚本导入一些文件:dumpinfo.pl

从同一个导出过程成功导入多个转储文件后,另一个文件失败:

# impdp system/****** DIRECTORY=RESTORE_DIR DUMPFILE=exp_%u.dmp PARALLEL=8 
Import: Release 11.2.0.2.0 - Production on Mon Jul 7 11:40:37 2014

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39059: dump file set is incomplete
ORA-39246: cannot locate master table within provided dump files

脚本报告它找不到主表。假设主表丢失,有什么机制可以恢复它?

谢谢...

【问题讨论】:

  • 您能否提供有关无效转储文件的更多详细信息?
  • 您好 Barett,感谢您的更正。问题是主表没有保存在转储文件中,并且也被删除了数据库。因此,无法使用 Oracle 的实用程序恢复数据。

标签: oracle oracle11g oracle11gr2 recover datapump


【解决方案1】:

ORA-39246 无法在提供的转储文件中找到主表 原因:检查导出日志文件并确保所有文件 导出的都包含在当前作业中。行动:数据泵 正在执行 IMPORT 或 SQL_FILE 操作,但不是所有 包括数据泵导出转储文件集中的文件。在 特别是,包含导出作业主表的转储文件是 未提供。

检查您是否在该目录中拥有所有转储文件,并且它们都可以被 impdp 实用程序访问。当我们的备份团队恢复了前五个 dmp 文件,而最后两个丢失了时,我收到了这个错误。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-06-19
    • 2023-03-05
    • 2014-01-31
    • 2021-03-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多