2

我正在尝试使用已发布的 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

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

谢谢...

4

1 回答 1

1

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

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

于 2015-09-07T17:44:50.600 回答